Skip to content

Box DataObjectInterface

Travis edited this page Mar 13, 2014 · 6 revisions

Box\DataObjectInterface

DataObjectInterface

  • Interface name: DataObjectInterface
  • Namespace: Box
  • This is an interface

Methods

\Box\DataObjectInterface::setId()

mixed Box\DataObjectInterface::\Box\DataObjectInterface::setId()(integer|null $id)

Set the id.

  • Visibility: public

Arguments

  • $id integer|null

\Box\DataObjectInterface::getId()

integer|null Box\DataObjectInterface::\Box\DataObjectInterface::getId()()

Get the id

  • Visibility: public

\Box\DataObjectInterface::toData()

\Box\Data Box\DataObjectInterface::\Box\DataObjectInterface::toData()()

Turn this instance into a storable data package.

  • Visibility: public

\Box\DataObjectInterface::fromData()

static Box\DataObjectInterface::\Box\DataObjectInterface::fromData()(array $data)

Populate a new instance from data.

  • Visibility: public
  • This method is static.

Arguments

  • $data array

Clone this wiki locally