|
$_cache
Cache containing this record |
|
$_db
Database handle used with this record |
|
$_fields
Field symbol map of this record |
|
$_name
Name of this record |
|
$_variables
Variable map of this record |
|
__construct (Sgss_Font_Cache $cache, string $name)
The constructor |
void |
build ()
Builds this record in the cache file |
void |
destroy ()
Destroys this record from the cache file |
float |
getVersion ()
Returns the version of this record |
void |
init ()
Initializes this record |
void |
setVersion (float $version)
Sets the version of this record to the specified value |
|
_createField (mixed $name, [string $type = self::FIELD_MAP], [array $option = array()])
Creates the field specified by the parameters into this record |
|
_getField (mixed $name)
Returns the field associated with the specified name |
|
_hasField (mixed $name)
Determines whether this record contains the associated field with the specified name |
|
_removeField (mixed $name)
Removes the specified field name and associated field from this record |
mixed |
__call (string $name, array $arguments)
|
mixed |
__get (mixed $name)
|
boolean |
__isset (mixed $name)
|
mixed |
__set (mixed $name, mixed $value)
|
void |
__unset (mixed $name)
|
FIELD_MAP = 'map' |
Field type identifier |
FIELD_TABLE = 'table' |
Field type identifier |
Cache containing this record
protected Sgss_Font_Cache $_cache
Database handle used with this record
protected PDO $_db
Field symbol map of this record
protected Sgss_Collection_Pdo_Map $_fields
Name of this record
protected string $_name
Variable map of this record
protected Sgss_Collection_Pdo_Map $_variables
The constructor
Sgss_Font_Cache $cache
Cache containing this record
string $name
Name of this record
public __construct (Sgss_Font_Cache $cache, string $name)
Builds this record in the cache file
When unable to build cache record
public void build ()
Destroys this record from the cache file
When unable to destroy cache record
public void destroy ()
Returns the version of this record
public float getVersion ()
Initializes this record
public void init ()
Sets the version of this record to the specified value
float $version
Version of this record to set
When unable to set version of this record
public void setVersion (float $version)
Creates the field specified by the parameters into this record
mixed $name
Name of the field to be created
string $type
Type identifier of the field to be created
array $option
Type-specific option array
When unable to create field
protected Sgss_Collection_Pdo_Map|Sgss_Collection_Pdo_Table _createField (mixed $name, [string $type = self::FIELD_MAP], [array $option = array()])
Returns the field associated with the specified name
mixed $name
Name associated with the field to be retrieved
When undefined field type detected
protected mixed|null _getField (mixed $name)
Determines whether this record contains the associated field with the specified name
mixed $name
Record name to determine
protected boolean _hasField (mixed $name)
Removes the specified field name and associated field from this record
mixed $name
Name associated with the field to be removed
protected boolean _removeField (mixed $name)
string $name
array $arguments
public mixed __call (string $name, array $arguments)
mixed $name
public mixed __get (mixed $name)
mixed $name
public boolean __isset (mixed $name)
mixed $name
mixed $value
public mixed __set (mixed $name, mixed $value)
mixed $name
public void __unset (mixed $name)
Field type identifier
const FIELD_MAP = 'map'
Field type identifier
const FIELD_TABLE = 'table'