Skip to content

PhpOrient Protocols Binary Data Record

Domenico Lupinetti edited this page Jan 1, 2015 · 4 revisions

PhpOrient\Protocols\Binary\Data\Record

Properties

$rid

    protected \PhpOrient\Protocols\Binary\Data\ID $rid
  • Visibility: protected

$oClass

    protected string $oClass
  • Visibility: protected

$version

    protected integer $version
  • Visibility: protected

$oData

    protected array $oData = array()
  • Visibility: protected

Methods

getRid

    \PhpOrient\Protocols\Binary\Data\ID PhpOrient\Protocols\Binary\Data\Record::getRid()
Gets the Record ID
  • Visibility: public

setRid

    \PhpOrient\Protocols\Binary\Data\Record PhpOrient\Protocols\Binary\Data\Record::setRid(\PhpOrient\Protocols\Binary\Data\ID $rid)
Sets the Record Id
  • Visibility: public
Arguments

setOClass

    \PhpOrient\Protocols\Binary\Data\Record PhpOrient\Protocols\Binary\Data\Record::setOClass(string $oClass)
Sets the Orient Class
  • Visibility: public
Arguments
  • $oClass string

getOClass

    string|null PhpOrient\Protocols\Binary\Data\Record::getOClass()
Gets the Orient Class
  • Visibility: public

setVersion

    \PhpOrient\Protocols\Binary\Data\Record PhpOrient\Protocols\Binary\Data\Record::setVersion(integer $version)
Sets the Version
  • Visibility: public
Arguments
  • $version integer

getVersion

    integer PhpOrient\Protocols\Binary\Data\Record::getVersion()
Gets the Version
  • Visibility: public

setOData

    \PhpOrient\Protocols\Binary\Data\Record PhpOrient\Protocols\Binary\Data\Record::setOData(array $oData)
Sets the Orient Record Content
  • Visibility: public
Arguments
  • $oData array

getOData

    string PhpOrient\Protocols\Binary\Data\Record::getOData()
Gets the Orient Record Content
  • Visibility: public

recordSerialize

    mixed PhpOrient\Protocols\Binary\Abstracts\SerializableInterface::recordSerialize()
Return a representation of the class that can be serialized as an

OrientDB record.

jsonSerialize

    mixed PhpOrient\Protocols\Binary\Data\Record::jsonSerialize()
(PHP 5 >= 5.4.0)

Specify data which should be serialized to JSON

  • Visibility: public

__toString

    string PhpOrient\Protocols\Binary\Data\Record::__toString()
To String ( as alias of json_encode )
  • Visibility: public

offsetExists

    boolean PhpOrient\Protocols\Binary\Data\Record::offsetExists(mixed $offset)
(PHP 5 >= 5.0.0)

Whether a offset exists

  • Visibility: public
Arguments
  • $offset mixed

    An offset to check for.

offsetGet

    mixed PhpOrient\Protocols\Binary\Data\Record::offsetGet(mixed $offset)
(PHP 5 >= 5.0.0)

Offset to retrieve

  • Visibility: public
Arguments
  • $offset mixed

    The offset to retrieve.

offsetSet

    void PhpOrient\Protocols\Binary\Data\Record::offsetSet(mixed $offset, mixed $value)
(PHP 5 >= 5.0.0)

Offset to set

  • Visibility: public
Arguments
  • $offset mixed

    The offset to assign the value to.

  • $value mixed

    The value to set.

offsetUnset

    void PhpOrient\Protocols\Binary\Data\Record::offsetUnset(mixed $offset)
(PHP 5 >= 5.0.0)

Offset to unset

  • Visibility: public
Arguments
  • $offset mixed

    The offset to unset.

__get

    mixed PhpOrient\Protocols\Binary\Data\Record::__get($name)
Magic Method, access directly to the Orient Record

content as property

  • Visibility: public
Arguments
  • $name mixed

__set

    mixed PhpOrient\Protocols\Binary\Data\Record::__set($name, $value)
Magic Method, set directly to the Orient Record

content as property

  • Visibility: public
Arguments
  • $name mixed
  • $value mixed

configure

    \PhpOrient\Protocols\Binary\Data\Record PhpOrient\Protocols\Binary\Data\Record::configure(array $options)
Configure the object.
  • Visibility: public
Arguments
  • $options array

    The options for the object.

fromConfig

    static PhpOrient\Protocols\Binary\Data\Record::fromConfig(array $options)
Return a new class instance configured from the given options.
  • Visibility: public
  • This method is static.
Arguments
  • $options array

    The options for the newly created class instance.

Clone this wiki locally