PHP Class Gpf_Data_IndexedRecordSet

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

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
loadRecordFromObject ( Gpf_Data_Record $record )

Method Details

__construct() public méthode

public __construct ( $key )

addRecord() public méthode

public addRecord ( Gpf_Data_Record $record )
$record Gpf_Data_Record

createRecord() public méthode

public createRecord ( String $keyValue = null ) : Gpf_Data_Record
$keyValue String
Résultat Gpf_Data_Record

existsRecord() public méthode

public existsRecord ( String $keyValue ) : boolean
$keyValue String
Résultat boolean

getRecord() public méthode

public getRecord ( String $keyValue = null ) : Gpf_Data_Record
$keyValue String
Résultat Gpf_Data_Record

loadRecordFromObject() protected méthode

protected loadRecordFromObject ( Gpf_Data_Record $record )
$record Gpf_Data_Record

sortByKeyValue() public méthode

public sortByKeyValue ( String $sortOptions ) : boolean
$sortOptions String (SORT_ASC, SORT_DESC, SORT_REGULAR, SORT_NUMERIC, SORT_STRING)
Résultat boolean