phpDocumentor Naos_Form
[ class tree: Naos_Form ] [ index: Naos_Form ] [ all elements ]

Element index for package Naos_Form

Package indexes

[ a ] [ c ] [ d ] [ e ] [ f ] [ g ] [ h ] [ j ] [ l ] [ n ] [ o ] [ p ] [ r ] [ s ] [ t ] [ v ] [ x ] [ _ ]

_

_

_loadFromObject
in file Form.php, method Naos_Form::_loadFromObject()
_storeToObject
in file Form.php, method Naos_Form::_storeToObject()
__construct
in file Form.php, method Naos_Form::__construct()
    This is the constructor of the form class. It is protected and therefore it is not possible to instantiate the form class directly.
__construct
in file ArrayInterface.php, method Naos_Form_ArrayInterface::__construct()
    Constructs the array access interface. Either the internal stack is set to "zero" or initialized with the given value.
a

a

addError
in file Form.php, method Naos_Form::addError()
    Adds a new eror to an item or to a specific index of an item.
applyAdditionalDefinition
in file Form.php, method Naos_Form::applyAdditionalDefinition()
applyDefinition
in file Form.php, method Naos_Form::applyDefinition()
    Applies the definition of a form to the current stored content. This includes the validation of the text attribute (text attribute filters) as well as the verification of the available attributes per item.
AbstractSource.php
procedural page AbstractSource.php
ArrayInterface.php
procedural page ArrayInterface.php
AttributeTextFilter.php
procedural page AttributeTextFilter.php
c

c

checkbox
in file ValueTransformReceive.php, method Naos_Form_ValueTransformReceive::checkbox()
    Receive value: Input element "checkbox"
checkbox
in file ValueTransformPrepare.php, method Naos_Form_ValueTransformPrepare::checkbox()
    Value preparation: Input element "checkbox"
clearErrors
in file Form.php, method Naos_Form::clearErrors()
d

d

date
in file ValueTransformReceive.php, method Naos_Form_ValueTransformReceive::date()
    Receive value: Input element "date"
date
in file AttributeTextFilter.php, method Naos_Form_AttributeTextFilter::date()
    Attribute Text Filter: Checks for a valid date according to the locale of the application state.
date
in file ValueTransformPrepare.php, method Naos_Form_ValueTransformPrepare::date()
    Value preparation: Input element "date"
datetime
in file ValueTransformReceive.php, method Naos_Form_ValueTransformReceive::datetime()
    Receive value: Input element "datetime"
datetime
in file ValueTransformPrepare.php, method Naos_Form_ValueTransformPrepare::datetime()
    Value preparation: Input element "datetime"
datetime
in file AttributeTextFilter.php, method Naos_Form_AttributeTextFilter::datetime()
    Attribute Text Filter: Checks for a valid datetime according to the locale of the application state.
decimal
in file ValueTransformReceive.php, method Naos_Form_ValueTransformReceive::decimal()
    Receive value: Input element "decimal"
decimal
in file AttributeTextFilter.php, method Naos_Form_AttributeTextFilter::decimal()
    Attribute Text Filter: Checks for a valid decimal value according to the locale of the application state.
decimal
in file ValueTransformPrepare.php, method Naos_Form_ValueTransformPrepare::decimal()
    Value preparation: Input element "decimal"
e

e

email
in file ValueTransformReceive.php, method Naos_Form_ValueTransformReceive::email()
    Receive value: Input element "email"
email
in file ValueTransformPrepare.php, method Naos_Form_ValueTransformPrepare::email()
    Value preparation: Input element "email"
email
in file AttributeTextFilter.php, method Naos_Form_AttributeTextFilter::email()
    Attribute Text Filter: Checks for a valid email.
f

f

file
in file ValueTransformReceive.php, method Naos_Form_ValueTransformReceive::file()
    Receive value: Input element "file"
file
in file ValueTransformPrepare.php, method Naos_Form_ValueTransformPrepare::file()
    Value preparation: Input element "file"
form
in file Form.php, method Naos_Form::form()
    This function provides access to the form instances. It implements a singleton pattern on class identifier basis, i.e. only one instance of a form class per class identifier is allowed. The instances are collected in a cache for later access.
Form.php
procedural page Form.php
g

g

getAttribute
in file Form.php, method Naos_Form::getAttribute()
    Gets the content of an item value attribute.
getAvailableForms
in file AbstractSource.php, method Naos_Form_AbstractSource::getAvailableForms()
    Returns an array with form identifier which are available for receiving.
getAvailableForms
in file HttpPostSource.php, method Naos_Form_HttpPostSource::getAvailableForms()
getAvailableForms
in file XmlRequestSource.php, method Naos_Form_XmlRequestSource::getAvailableForms()
getAvailableItems
in file AbstractSource.php, method Naos_Form_AbstractSource::getAvailableItems()
    Returns an array with the available items and their titles of an specific form path.
getErrors1
in file Form.php, method Naos_Form::getErrors1()
    Get all available errors
getErrors2
in file Form.php, method Naos_Form::getErrors2()
    Get errors on item level
getErrors3
in file Form.php, method Naos_Form::getErrors3()
    Get errors on item index level
getItemDescriptor
in file XmlRequestSource.php, method Naos_Form_XmlRequestSource::getItemDescriptor()
getItemDescriptor
in file AbstractSource.php, method Naos_Form_AbstractSource::getItemDescriptor()
    Returns the item descriptor of an form path. The return value consists of an comma separated list of the available items and their input class.
getItemDescriptor
in file HttpPostSource.php, method Naos_Form_HttpPostSource::getItemDescriptor()
getItemTitleDescriptor
in file AbstractSource.php, method Naos_Form_AbstractSource::getItemTitleDescriptor()
    Returns the item titles of an form path. The value is in general an automatic generated value from the template compiler.
getItemTitleDescriptor
in file HttpPostSource.php, method Naos_Form_HttpPostSource::getItemTitleDescriptor()
getItemTitleDescriptor
in file XmlRequestSource.php, method Naos_Form_XmlRequestSource::getItemTitleDescriptor()
getItemValue
in file AbstractSource.php, method Naos_Form_AbstractSource::getItemValue()
    Returns the value of an item path.
getItemValue
in file HttpPostSource.php, method Naos_Form_HttpPostSource::getItemValue()
getItemValue
in file XmlRequestSource.php, method Naos_Form_XmlRequestSource::getItemValue()
getPredefinedValues
in file Form.php, method Naos_Form::getPredefinedValues()
    Get the set of predefined values for a specific item. This is used especially for select boxes as well as for predefined indices.
getTitleAttribute
in file Form.php, method Naos_Form::getTitleAttribute()
    Gets the title of an item (which is the either read from the configuration or which is in fact the title attribute).
h

h

HttpPostSource.php
procedural page HttpPostSource.php
hasAttribute
in file Form.php, method Naos_Form::hasAttribute()
    Checks for the availability of an item value attribute.
hasErrors
in file Form.php, method Naos_Form::hasErrors()
    Returns true when form contains errors. False otherwise.
hasItemValue
in file XmlRequestSource.php, method Naos_Form_XmlRequestSource::hasItemValue()
hasItemValue
in file HttpPostSource.php, method Naos_Form_HttpPostSource::hasItemValue()
hasItemValue
in file AbstractSource.php, method Naos_Form_AbstractSource::hasItemValue()
    Checks for an value of an item path.
hidden
in file ValueTransformReceive.php, method Naos_Form_ValueTransformReceive::hidden()
    Receive value: Input element "hidden"
hidden
in file ValueTransformPrepare.php, method Naos_Form_ValueTransformPrepare::hidden()
    Value preparation: Input element "hidden"
j

j

jsondata
in file ValueTransformReceive.php, method Naos_Form_ValueTransformReceive::jsondata()
    Receive value: Input element "jsondata"
jsondata
in file ValueTransformPrepare.php, method Naos_Form_ValueTransformPrepare::jsondata()
    Value preparation: Input element "jsondata"
l

l

loadFromObject
in file Form.php, method Naos_Form::loadFromObject()
n

n

Naos_Form
in file Form.php, class Naos_Form
    Naos_Form represents a formular for data exchange with the user. The class provides access to the values, and gathers the form values autonomously.
Naos_Form_AbstractSource
in file AbstractSource.php, class Naos_Form_AbstractSource
    Naos_Form_AbstractSource defines the interface for a data source.
Naos_Form_ArrayInterface
in file ArrayInterface.php, class Naos_Form_ArrayInterface
    Naos_Form_ArrayInterface provides an virtual multidimensional array access to the available forms and their values. This interface is used by the smarty template engine.
Naos_Form_AttributeTextFilter
in file AttributeTextFilter.php, class Naos_Form_AttributeTextFilter
    Naos_Form_AttributeTextFilter defines a set of filter for the text attribute, which is usually the user input.
Naos_Form_HttpPostSource
in file HttpPostSource.php, class Naos_Form_HttpPostSource
    Naos_Form_HttpPostSource implements the well known $_POST source as form data source.
Naos_Form_ValueTransformPrepare
in file ValueTransformPrepare.php, class Naos_Form_ValueTransformPrepare
    Naos_Form_ValueTransformPrepare provides for every input element type a conversion function, which operates on the value attributes. These functions are called before the specific input element is shown.
Naos_Form_ValueTransformReceive
in file ValueTransformReceive.php, class Naos_Form_ValueTransformReceive
    Naos_Form_ValueTransformReceive provides for every
Naos_Form_XmlRequestSource
in file XmlRequestSource.php, class Naos_Form_XmlRequestSource
    Naos_Form_XmlRequestSource provides support for the AJAX XML data source.
o

o

offsetExists
in file ArrayInterface.php, method Naos_Form_ArrayInterface::offsetExists()
offsetGet
in file ArrayInterface.php, method Naos_Form_ArrayInterface::offsetGet()
offsetSet
in file ArrayInterface.php, method Naos_Form_ArrayInterface::offsetSet()
offsetUnset
in file ArrayInterface.php, method Naos_Form_ArrayInterface::offsetUnset()
p

p

password
in file ValueTransformPrepare.php, method Naos_Form_ValueTransformPrepare::password()
    Value preparation: Input element "password"
password
in file AttributeTextFilter.php, method Naos_Form_AttributeTextFilter::password()
    Attribute Text Filter: Checks for a valid password.
password
in file ValueTransformReceive.php, method Naos_Form_ValueTransformReceive::password()
    Receive value: Input element "password"
prepareAttributes
in file Form.php, method Naos_Form::prepareAttributes()
    This function applies the specific prepare function for an input class and sets the resulting attributes to the item value in question.
r

r

radio
in file ValueTransformReceive.php, method Naos_Form_ValueTransformReceive::radio()
    Receive value: Input element "radio"
radio
in file ValueTransformPrepare.php, method Naos_Form_ValueTransformPrepare::radio()
    Value preparation: Input element "radio"
regexp
in file AttributeTextFilter.php, method Naos_Form_AttributeTextFilter::regexp()
    Attribute Text Filter: Checks for a valid value according to the given regular expression.
required
in file AttributeTextFilter.php, method Naos_Form_AttributeTextFilter::required()
    Attribute Text Filter: Checks if value is available.
s

s

select
in file ValueTransformReceive.php, method Naos_Form_ValueTransformReceive::select()
    Receive value: Input element "select"
select
in file ValueTransformPrepare.php, method Naos_Form_ValueTransformPrepare::select()
    Value preparation: Input element "select"
setAttribute
in file Form.php, method Naos_Form::setAttribute()
    Sets the content of an item value attribute.
stateReceived
in file Form.php, method Naos_Form::stateReceived()
    This function indicates if we have a form object with received values or if we have a new form object.
storeToObject
in file Form.php, method Naos_Form::storeToObject()
submit
in file ValueTransformReceive.php, method Naos_Form_ValueTransformReceive::submit()
    Receive value: Input element "submit"
submit
in file ValueTransformPrepare.php, method Naos_Form_ValueTransformPrepare::submit()
    Value preparation: Input element "submit"
t

t

text
in file ValueTransformPrepare.php, method Naos_Form_ValueTransformPrepare::text()
    Value preparation: Input element "text"
text
in file ValueTransformReceive.php, method Naos_Form_ValueTransformReceive::text()
    Receive value: Input element "text"
textarea
in file ValueTransformPrepare.php, method Naos_Form_ValueTransformPrepare::textarea()
    Value preparation: Input element "textarea"
textarea
in file ValueTransformReceive.php, method Naos_Form_ValueTransformReceive::textarea()
    Receive value: Input element "textarea"
time
in file ValueTransformReceive.php, method Naos_Form_ValueTransformReceive::time()
    Receive value: Input element "time"
time
in file ValueTransformPrepare.php, method Naos_Form_ValueTransformPrepare::time()
    Value preparation: Input element "time"
time
in file AttributeTextFilter.php, method Naos_Form_AttributeTextFilter::time()
    Attribute Text Filter: Checks for a valid time according to the locale of the application state.
v

v

ValueTransformPrepare.php
procedural page ValueTransformPrepare.php
ValueTransformReceive.php
procedural page ValueTransformReceive.php
validateTextFilter
in file Form.php, method Naos_Form::validateTextFilter()
    This function performs the validation of the text attribute with the text attribute filter. In case a validation failes the function adds the specific error to the form.
verifyAttributes
in file Form.php, method Naos_Form::verifyAttributes()
    This function performs the verification of the attributes. In general it checks if requested attributes are available. This is a guarantee for the developer of the business logic that he is able to work with these attributes in any case.
x

x

XmlRequestSource.php
procedural page XmlRequestSource.php

Documentation generated on Sat, 13 Sep 2008 01:40:31 -0400 by phpDocumentor 1.4.0