PHP Class Gpf_Data_IndexedRecordSet

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

Public Methods

Method Description
__construct ( $key )
addRecord ( Gpf_Data_Record $record )
createRecord ( String $keyValue = null ) : Gpf_Data_Record
existsRecord ( String $keyValue ) : boolean
getRecord ( String $keyValue = null ) : Gpf_Data_Record
sortByKeyValue ( String $sortOptions ) : boolean

Protected Methods

Method Description
loadRecordFromObject ( Gpf_Data_Record $record )

Method Details

__construct() public method

public __construct ( $key )

addRecord() public method

public addRecord ( Gpf_Data_Record $record )
$record Gpf_Data_Record

createRecord() public method

public createRecord ( String $keyValue = null ) : Gpf_Data_Record
$keyValue String
return Gpf_Data_Record

existsRecord() public method

public existsRecord ( String $keyValue ) : boolean
$keyValue String
return boolean

getRecord() public method

public getRecord ( String $keyValue = null ) : Gpf_Data_Record
$keyValue String
return Gpf_Data_Record

loadRecordFromObject() protected method

protected loadRecordFromObject ( Gpf_Data_Record $record )
$record Gpf_Data_Record

sortByKeyValue() public method

public sortByKeyValue ( String $sortOptions ) : boolean
$sortOptions String (SORT_ASC, SORT_DESC, SORT_REGULAR, SORT_NUMERIC, SORT_STRING)
return boolean