PHP Class Pap_Api_Object

Inheritance: extends Gpf_Object
ファイルを表示 Open project: fubralimited/php-oara Class Usage Examples

Protected Properties

Property Type Description
$class

Public Methods

Method 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 )

Protected Methods

Method Description
afterCallRequest ( )
beforeCallRequest ( Gpf_Rpc_FormRequest $request )
fillEmptyRecord ( )
fillFieldsToGridRequest ( $request )
getGridRequest ( )
getPrimaryKey ( )
getPrimaryKeyFromFields ( )

Private Methods

Method 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 method

public __construct ( Gpf_Api_Session $session )
$session Gpf_Api_Session

add() public method

public add ( )

addErrorMessages() public method

public addErrorMessages ( Gpf_Data_IndexedRecordSet $fields )
$fields Gpf_Data_IndexedRecordSet

afterCallRequest() protected method

protected afterCallRequest ( )

beforeCallRequest() protected method

protected beforeCallRequest ( Gpf_Rpc_FormRequest $request )
$request Gpf_Rpc_FormRequest

fillEmptyRecord() protected method

protected fillEmptyRecord ( )

fillFieldsToGridRequest() protected method

protected fillFieldsToGridRequest ( $request )

getField() public method

public getField ( $name )

getFields() public method

public getFields ( )

getGridRequest() protected method

protected getGridRequest ( )

getMessage() public method

public getMessage ( )

getPrimaryKey() protected method

protected getPrimaryKey ( )

getPrimaryKeyFromFields() protected method

protected getPrimaryKeyFromFields ( )

getSession() public method

public getSession ( )

load() public method

public load ( )

save() public method

public save ( )

setField() public method

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

setFields() public method

public setFields ( Gpf_Data_IndexedRecordSet $fields )
$fields Gpf_Data_IndexedRecordSet

Property Details

$class protected_oe property

protected $class