PHP Class Gpf_Rpc_Form

Inheritance: extends Gpf_Object, implements Gpf_Rpc_Serializable, implements IteratorAggregate
Exibir arquivo Open project: fubralimited/php-oara Class Usage Examples

Public Methods

Method Description
__construct ( Gpf_Rpc_Params $params = null )
addField ( $name, $value )
addValidator ( Gpf_Rpc_Form_Validator_Validator $validator, $fieldName, $fieldLabel = null )
existsField ( $name )
fill ( Gpf_Data_Row $row )
getErrorMessage ( )
getFieldError ( $name )
getFieldValue ( $name )
getFieldValues ( $name )
getFields ( ) : Gpf_Data_IndexedRecordSet
getInfoMessage ( )
getIterator ( ) : ArrayIterator
isError ( ) : boolean
isSuccessful ( ) : boolean
load ( Gpf_Data_Row $row )
loadFieldsFromArray ( $fields )
loadFromObject ( stdClass $object )
setErrorMessage ( $message )
setField ( $name, $value, $values = null, $error = "" )
setFieldError ( $name, $error )
setInfoMessage ( $message )
setSuccessful ( )
toObject ( )
toText ( )
validate ( ) : boolean

Method Details

__construct() public method

public __construct ( Gpf_Rpc_Params $params = null )
$params Gpf_Rpc_Params

addField() public method

public addField ( $name, $value )

addValidator() public method

public addValidator ( Gpf_Rpc_Form_Validator_Validator $validator, $fieldName, $fieldLabel = null )
$validator Gpf_Rpc_Form_Validator_Validator
$fieldName
$fieldLabel

existsField() public method

public existsField ( $name )

fill() public method

public fill ( Gpf_Data_Row $row )
$row Gpf_Data_Row

getErrorMessage() public method

public getErrorMessage ( )

getFieldError() public method

public getFieldError ( $name )

getFieldValue() public method

public getFieldValue ( $name )

getFieldValues() public method

public getFieldValues ( $name )

getFields() public method

public getFields ( ) : Gpf_Data_IndexedRecordSet
return Gpf_Data_IndexedRecordSet

getInfoMessage() public method

public getInfoMessage ( )

getIterator() public method

isError() public method

public isError ( ) : boolean
return boolean

isSuccessful() public method

public isSuccessful ( ) : boolean
return boolean

load() public method

public load ( Gpf_Data_Row $row )
$row Gpf_Data_Row

loadFieldsFromArray() public method

public loadFieldsFromArray ( $fields )

loadFromObject() public method

public loadFromObject ( stdClass $object )
$object stdClass

setErrorMessage() public method

public setErrorMessage ( $message )

setField() public method

public setField ( $name, $value, $values = null, $error = "" )

setFieldError() public method

public setFieldError ( $name, $error )

setInfoMessage() public method

public setInfoMessage ( $message )

setSuccessful() public method

public setSuccessful ( )

toObject() public method

public toObject ( )

toText() public method

public toText ( )

validate() public method

public validate ( ) : boolean
return boolean