Public Member Functions | |
| __construct (Connection $connection, Resource $resource) | |
| getSummary () | |
| jsonSerialize () | |
| setSchema ($schema) | |
Public Member Functions inherited from Drupal\dkan_common\Storage\AbstractDatabaseTable | |
| __construct (Connection $connection) | |
| retrieve (string $id) | |
| retrieveAll () | |
| store ($data, string $id=NULL) | |
| storeMultiple (array $data) | |
| remove (string $id) | |
| count () | |
| query (Query $query) | |
| destroy () | |
Static Public Member Functions | |
| static | hydrate (string $json) |
Protected Member Functions | |
| getTableName () | |
| prepareData (string $data, string $id=NULL) | |
| primaryKey () | |
| getNonSerialFields () | |
Additional Inherited Members | |
Protected Attributes inherited from Drupal\dkan_common\Storage\AbstractDatabaseTable | |
| $connection | |
Database storage object.
Definition at line 16 of file DatabaseTable.php.
| Drupal\dkan_datastore\Storage\DatabaseTable::__construct | ( | Connection | $connection, |
| Resource | $resource | ||
| ) |
Constructor method.
| \Drupal\Core\Database\Connection | $connection | Drupal database connection object. |
| \Dkan\Datastore\Resource | $resource | A resource. |
Definition at line 35 of file DatabaseTable.php.
|
protected |
Protected.
Reimplemented from Drupal\dkan_common\Storage\AbstractDatabaseTable.
Definition at line 120 of file DatabaseTable.php.
| Drupal\dkan_datastore\Storage\DatabaseTable::getSummary | ( | ) |
Get summary.
Definition at line 45 of file DatabaseTable.php.
|
protected |
Get the full name of datastore db table.
Reimplemented from Drupal\dkan_common\Storage\AbstractDatabaseTable.
Definition at line 77 of file DatabaseTable.php.
|
static |
Hydrate.
Definition at line 64 of file DatabaseTable.php.
| Drupal\dkan_datastore\Storage\DatabaseTable::jsonSerialize | ( | ) |
Inherited.
Definition at line 57 of file DatabaseTable.php.
|
protected |
Protected.
Reimplemented from Drupal\dkan_common\Storage\AbstractDatabaseTable.
Definition at line 87 of file DatabaseTable.php.
|
protected |
Protected.
Reimplemented from Drupal\dkan_common\Storage\AbstractDatabaseTable.
Definition at line 113 of file DatabaseTable.php.
| Drupal\dkan_datastore\Storage\DatabaseTable::setSchema | ( | $schema | ) |
Overriden.
Definition at line 132 of file DatabaseTable.php.