PHP 클래스 PhpOrient\Protocols\Binary\Data\Record

상속: implements ArrayAccess, implements JsonSerializable, implements PhpOrient\Protocols\Binary\Abstracts\SerializableInterface, use trait PhpOrient\Protocols\Common\ConfigurableTrait
파일 보기 프로젝트 열기: ostico/phporient 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$oClass The class this record belongs to.
$oData The raw bytes that make up the record.
$rid The record id.
$version The record version.

공개 메소드들

메소드 설명
__get ( $name ) : mixed Magic Method, access directly to the Orient Record content as property
__set ( $name, $value ) Magic Method, set directly to the Orient Record content as property
__toString ( ) : string To String ( as alias of json_encode )
fromConfig ( array $options = [] ) : mixed Override the ConfigurableTrait fromConfig method to handle custom classes for records
getOClass ( ) : string | null Gets the Orient Class
getOData ( ) : string Gets the Orient Record Content
getRid ( ) : PhpOrient\Protocols\Binary\Data\ID Gets the Record ID
getVersion ( ) : integer Gets the Version
jsonSerialize ( ) : mixed (PHP 5 >= 5.4.0)
Specify data which should be serialized to JSON
offsetExists ( mixed $offset ) : boolean (PHP 5 >= 5.0.0)
Whether a offset exists
offsetGet ( mixed $offset ) : mixed (PHP 5 >= 5.0.0)
Offset to retrieve
offsetSet ( mixed $offset, mixed $value ) : void (PHP 5 >= 5.0.0)
Offset to set
offsetUnset ( mixed $offset ) : void (PHP 5 >= 5.0.0)
Offset to unset
recordSerialize ( ) : mixed Return a representation of the class that can be serialized as an PhpOrient record.
setOClass ( string $oClass ) Sets the Orient Class
setOData ( array $oData = null ) Sets the Orient Record Content
setRid ( PhpOrient\Protocols\Binary\Data\ID $rid ) Sets the Record Id
setVersion ( integer $version ) Sets the Version

메소드 상세

__get() 공개 메소드

Magic Method, access directly to the Orient Record content as property
public __get ( $name ) : mixed
$name
리턴 mixed

__set() 공개 메소드

Magic Method, set directly to the Orient Record content as property
public __set ( $name, $value )
$name
$value

__toString() 공개 메소드

To String ( as alias of json_encode )
public __toString ( ) : string
리턴 string

fromConfig() 공개 정적인 메소드

Override the ConfigurableTrait fromConfig method to handle custom classes for records
public static fromConfig ( array $options = [] ) : mixed
$options array
리턴 mixed

getOClass() 공개 메소드

Gets the Orient Class
public getOClass ( ) : string | null
리턴 string | null

getOData() 공개 메소드

Gets the Orient Record Content
public getOData ( ) : string
리턴 string

getRid() 공개 메소드

Gets the Record ID
public getRid ( ) : PhpOrient\Protocols\Binary\Data\ID
리턴 PhpOrient\Protocols\Binary\Data\ID

getVersion() 공개 메소드

Gets the Version
public getVersion ( ) : integer
리턴 integer

jsonSerialize() 공개 메소드

(PHP 5 >= 5.4.0)
Specify data which should be serialized to JSON
public jsonSerialize ( ) : mixed
리턴 mixed data which can be serialized by json_encode, which is a value of any type other than a resource.

offsetExists() 공개 메소드

(PHP 5 >= 5.0.0)
Whether a offset exists
public offsetExists ( mixed $offset ) : boolean
$offset mixed

An offset to check for.

리턴 boolean true on success or false on failure.

The return value will be casted to boolean if non-boolean was returned.

offsetGet() 공개 메소드

(PHP 5 >= 5.0.0)
Offset to retrieve
public offsetGet ( mixed $offset ) : mixed
$offset mixed

The offset to retrieve.

리턴 mixed Can return all value types.

offsetSet() 공개 메소드

(PHP 5 >= 5.0.0)
Offset to set
public offsetSet ( mixed $offset, mixed $value ) : void
$offset mixed

The offset to assign the value to.

$value mixed

The value to set.

리턴 void

offsetUnset() 공개 메소드

(PHP 5 >= 5.0.0)
Offset to unset
public offsetUnset ( mixed $offset ) : void
$offset mixed

The offset to unset.

리턴 void

recordSerialize() 공개 메소드

Return a representation of the class that can be serialized as an PhpOrient record.
public recordSerialize ( ) : mixed
리턴 mixed

setOClass() 공개 메소드

Sets the Orient Class
public setOClass ( string $oClass )
$oClass string

setOData() 공개 메소드

Sets the Orient Record Content
public setOData ( array $oData = null )
$oData array

setRid() 공개 메소드

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

setVersion() 공개 메소드

Sets the Version
public setVersion ( integer $version )
$version integer

프로퍼티 상세

$oClass 보호되어 있는 프로퍼티

The class this record belongs to.
protected $oClass

$oData 보호되어 있는 프로퍼티

The raw bytes that make up the record.
protected $oData

$rid 보호되어 있는 프로퍼티

The record id.
protected $rid

$version 보호되어 있는 프로퍼티

The record version.
protected $version