Метод |
Описание |
|
__construct ( PDO $connection, BaseDriver $driver ) |
Users can store different metadata in the different data sources. |
|
createWithDataSource ( $dsId ) |
|
|
getAttribute ( string $key ) |
Get an attribute value from the database source. |
|
getIterator ( ) : ArrayIterator |
Get iterator for the key-value pair data. |
|
getKeyValues ( ) |
|
|
getKeys ( ) |
|
|
getValues ( ) |
|
|
getVersion ( ) : integer |
Get the current version number from the key-value store. |
|
hasAttribute ( string $key ) |
Check if a key exists in the database. |
|
init ( ) |
This method initialize the metadata table if needed. |
|
offsetExists ( string $key ) |
Check if a key exists. |
|
offsetGet ( string $key ) |
|
|
offsetSet ( string $key, string $value ) |
Set a value with a key. |
|
offsetUnset ( string $key ) |
|
|
removeAttribute ( string $key ) |
Remove an attribute from the database source. |
|
setAttribute ( string $key, string $value ) |
Set an attribute. |
|