-
Notifications
You must be signed in to change notification settings - Fork 0
Box StoreDataMysql
Travis edited this page Mar 13, 2014
·
3 revisions
StoreDataMysql
- Class name: StoreDataMysql
- Namespace: Box
- This class implements: Box\StoreDataInterface
private \PDO $_pdo
- Visibility: private
mixed Box\StoreDataMysql::\Box\StoreDataMysql::__construct()(\PDO $pdo)
Constructor.
- Visibility: public
- $pdo PDO - <p>Database connection.</p>
integer Box\StoreDataMysql::\Box\StoreDataMysql::delete()(\Box\DataObjectInterface $dataObject)
Delete a data object from store.
- Visibility: public
- $dataObject Box\DataObjectInterface
integer Box\StoreDataMysql::\Box\StoreDataMysql::deleteAll()(\Box\DataObjectCollection $dataObjects)
Delete a collection of data objects from store.
- Visibility: public
- $dataObjects Box\DataObjectCollection
\Box\DataObjectCollection Box\StoreDataMysql::\Box\StoreDataMysql::getAllByIds()(integer[] $ids, \Box\DataObjectInterface $type)
Get data packages from ids, maintaining order.
- Visibility: public
- $ids integer[]
- $type Box\DataObjectInterface
\Box\DataObjectInterface|null Box\StoreDataMysql::\Box\StoreDataMysql::getById()(integer $id, \Box\DataObjectInterface $type)
Get a data package from id.
- Visibility: public
- $id integer
- $type Box\DataObjectInterface
mixed Box\StoreDataMysql::\Box\StoreDataMysql::persist()(\Box\DataObjectInterface $dataObject)
Persist a collection of data objects.
- Visibility: public
- $dataObject Box\DataObjectInterface
integer Box\StoreDataMysql::\Box\StoreDataMysql::persistAll()(\Box\DataObjectCollection $dataObjects)
Delete a data object from store.
- Visibility: public
- $dataObjects Box\DataObjectCollection
mixed Box\StoreDataMysql::\Box\StoreDataMysql::truncate()(\Box\DataObjectInterface $type)
Remove all records of the given type.
- Visibility: public
- $type Box\DataObjectInterface
\Box\DataObjectInterface|null Box\StoreDataInterface::\Box\StoreDataInterface::getById()(integer $id, \Box\DataObjectInterface $type)
Get a data package from id.
- Visibility: public
- This method is defined by Box\StoreDataInterface
- $id integer
- $type Box\DataObjectInterface
\Box\DataObjectCollection Box\StoreDataInterface::\Box\StoreDataInterface::getAllByIds()(integer[] $ids, \Box\DataObjectInterface $type)
Get data packages from ids.
- Visibility: public
- This method is defined by Box\StoreDataInterface
- $ids integer[]
- $type Box\DataObjectInterface
mixed Box\StoreBaseInterface::\Box\StoreBaseInterface::persist()(\Box\DataObjectInterface $dataObject)
Persist a single data object.
- Visibility: public
- This method is defined by Box\StoreBaseInterface
- $dataObject Box\DataObjectInterface
mixed Box\StoreBaseInterface::\Box\StoreBaseInterface::persistAll()(\Box\DataObjectCollection $dataObjects)
Persist a collection of data objects.
- Visibility: public
- This method is defined by Box\StoreBaseInterface
- $dataObjects Box\DataObjectCollection
integer Box\StoreBaseInterface::\Box\StoreBaseInterface::delete()(\Box\DataObjectInterface $dataObject)
Delete a data object from store.
- Visibility: public
- This method is defined by Box\StoreBaseInterface
- $dataObject Box\DataObjectInterface
integer Box\StoreBaseInterface::\Box\StoreBaseInterface::deleteAll()(\Box\DataObjectCollection $dataObjects)
Delete a collection of data objects from store.
- Visibility: public
- This method is defined by Box\StoreBaseInterface
- $dataObjects Box\DataObjectCollection
mixed Box\StoreBaseInterface::\Box\StoreBaseInterface::truncate()(\Box\DataObjectInterface $type)
Remove all records of the given type.
- Visibility: public
- This method is defined by Box\StoreBaseInterface
- $type Box\DataObjectInterface