PHP Class Pap_Api_Object

Inheritance: extends Gpf_Object
Afficher le fichier Open project: fubralimited/php-oara Class Usage Examples

Protected Properties

Свойство Type Description
$class

Méthodes publiques

Méthode Description
__construct ( Gpf_Api_Session $session )
add ( )
addErrorMessages ( Gpf_Data_IndexedRecordSet $fields )
getField ( $name )
getFields ( )
getMessage ( )
getSession ( )
load ( )
save ( )
setField ( $name, $value, $operator = self::OPERATOR_EQUALS )
setFields ( Gpf_Data_IndexedRecordSet $fields )

Méthodes protégées

Méthode Description
afterCallRequest ( )
beforeCallRequest ( Gpf_Rpc_FormRequest $request )
fillEmptyRecord ( )
fillFieldsToGridRequest ( $request )
getGridRequest ( )
getPrimaryKey ( )
getPrimaryKeyFromFields ( )

Private Methods

Méthode Description
callRequest ( $method )
primaryKeyIsDefined ( )
someFieldIsFilled ( ) function checks if at least some field is filled (we'll use that field as filter for the grid)

Method Details

__construct() public méthode

public __construct ( Gpf_Api_Session $session )
$session Gpf_Api_Session

add() public méthode

public add ( )

addErrorMessages() public méthode

public addErrorMessages ( Gpf_Data_IndexedRecordSet $fields )
$fields Gpf_Data_IndexedRecordSet

afterCallRequest() protected méthode

protected afterCallRequest ( )

beforeCallRequest() protected méthode

protected beforeCallRequest ( Gpf_Rpc_FormRequest $request )
$request Gpf_Rpc_FormRequest

fillEmptyRecord() protected méthode

protected fillEmptyRecord ( )

fillFieldsToGridRequest() protected méthode

protected fillFieldsToGridRequest ( $request )

getField() public méthode

public getField ( $name )

getFields() public méthode

public getFields ( )

getGridRequest() protected méthode

protected getGridRequest ( )

getMessage() public méthode

public getMessage ( )

getPrimaryKey() protected méthode

protected getPrimaryKey ( )

getPrimaryKeyFromFields() protected méthode

protected getPrimaryKeyFromFields ( )

getSession() public méthode

public getSession ( )

load() public méthode

public load ( )

save() public méthode

public save ( )

setField() public méthode

public setField ( $name, $value, $operator = self::OPERATOR_EQUALS )

setFields() public méthode

public setFields ( Gpf_Data_IndexedRecordSet $fields )
$fields Gpf_Data_IndexedRecordSet

Property Details

$class protected_oe property

protected $class