Свойство | Тип | Описание | |
---|---|---|---|
$attributes | Holds attributes to save to database Blank entries for all database fields should be created by the constructor. Subclasses should add to this in their constructors. Any field not appearing in this will be viewed as metadata | ||
$valid | * ITERATOR INTERFACE |
Метод | Описание | |
---|---|---|
__isset ( string $name ) : boolean | Test if property is set either as an attribute or metadata. | |
current ( ) : mixed | Iterator interface | |
delete ( ) : boolean | Delete this data. | |
getTimeCreated ( ) : integer | Returns the UNIX epoch time that this entity was created | |
getURL ( ) : string | Get a URL for this object | |
key ( ) : string | Iterator interface | |
next ( ) : void | Iterator interface | |
offsetExists ( integer $offset ) : integer | Array access interface | |
offsetGet ( mixed $key ) : mixed | Array access interface | |
offsetSet ( mixed $key, mixed $value ) : void | Array access interface | |
offsetUnset ( mixed $key ) : void | Array access interface | |
rewind ( ) : void | Iterator interface | |
save ( ) : boolean | Save this data to the appropriate database table. | |
toObject ( ) : stdClass | Get a plain old object copy for public consumption | |
valid ( ) : boolean | Iterator interface |
Метод | Описание | |
---|---|---|
getDatabase ( ) : |
Provides a pointer to the database object. | |
initializeAttributes ( ) : void | Initialize the attributes array. |
protected getDatabase ( ) : |
||
Результат | The database where this data is (will be) stored. |
public getTimeCreated ( ) : integer | ||
Результат | integer | UNIX epoch time |
protected initializeAttributes ( ) : void | ||
Результат | void |
public offsetExists ( integer $offset ) : integer | ||
$offset | integer | Offset |
Результат | integer |
public offsetUnset ( mixed $key ) : void | ||
$key | mixed | Name |
Результат | void |
abstract public toObject ( ) : stdClass | ||
Результат | stdClass |
protected $attributes |