PHP 클래스 Phalcon\Db\Adapter\MongoDB\Model\BSONArray

The internal data will be filtered through array_values() during BSON serialization to ensure that it becomes a BSON array.
상속: extends ArrayObjec\ArrayObject, implements MongoDB\BSON\Serializable, implements MongoDB\BSON\Unserializable
파일 보기 프로젝트 열기: phalcon/incubator

공개 메소드들

메소드 설명
__set_state ( array $properties ) : self Factory method for var_export().
bsonSerialize ( ) : array Serialize the array to BSON.
bsonUnserialize ( array $data ) Unserialize the document to BSON.

메소드 상세

__set_state() 공개 정적인 메소드

Factory method for var_export().
또한 보기: http://php.net/oop5.magic#object.set-state
또한 보기: http://php.net/var-export
public static __set_state ( array $properties ) : self
$properties array
리턴 self

bsonSerialize() 공개 메소드

The array data will be numerically reindexed to ensure that it is stored as a BSON array.
또한 보기: http://php.net/mongodb-bson-serializable.bsonserialize
public bsonSerialize ( ) : array
리턴 array

bsonUnserialize() 공개 메소드

Unserialize the document to BSON.
또한 보기: http://php.net/mongodb-bson-unserializable.bsonunserialize
public bsonUnserialize ( array $data )
$data array Array data