Skip to content
Travis edited this page Mar 13, 2014 · 9 revisions

Box\StoreInterface

StoreInterface

  • Interface name: StoreInterface
  • Namespace: Box
  • This is an interface
  • This interface extends: Box\StoreBaseInterface

Methods

\Box\StoreInterface::get()

\Box\DataObjectInterface|null Box\StoreInterface::\Box\StoreInterface::get()(\Box\QueryBase $query)

Get a single data object from query.

  • Visibility: public

Arguments

\Box\StoreInterface::getAll()

\Box\DataObjectCollection Box\StoreInterface::\Box\StoreInterface::getAll()(\Box\QueryBase $query)

Get a collection of data objects from query.

  • Visibility: public

Arguments

\Box\StoreInterface::count()

integer Box\StoreInterface::\Box\StoreInterface::count()(\Box\QueryBase $query)

Count stored records for query.

  • Visibility: public

Arguments

\Box\StoreBaseInterface::persist()

mixed Box\StoreBaseInterface::\Box\StoreBaseInterface::persist()(\Box\DataObjectInterface $dataObject)

Persist a single data object.

Arguments

\Box\StoreBaseInterface::persistAll()

mixed Box\StoreBaseInterface::\Box\StoreBaseInterface::persistAll()(\Box\DataObjectCollection $dataObjects)

Persist a collection of data objects.

Arguments

\Box\StoreBaseInterface::delete()

integer Box\StoreBaseInterface::\Box\StoreBaseInterface::delete()(\Box\DataObjectInterface $dataObject)

Delete a data object from store.

Arguments

\Box\StoreBaseInterface::deleteAll()

integer Box\StoreBaseInterface::\Box\StoreBaseInterface::deleteAll()(\Box\DataObjectCollection $dataObjects)

Delete a collection of data objects from store.

Arguments

\Box\StoreBaseInterface::truncate()

mixed Box\StoreBaseInterface::\Box\StoreBaseInterface::truncate()(\Box\DataObjectInterface $type)

Remove all records of the given type.

Arguments

Clone this wiki locally