PHP 클래스 Phalcon\Mvc\MongoCollection

상속: extends Phalcon\Mvc\Collection, implements MongoDB\BSON\Unserializable
파일 보기 프로젝트 열기: phalcon/incubator

보호된 프로퍼티들

프로퍼티 타입 설명
$_disableEvents @codingStandardsIgnoreStart

공개 메소드들

메소드 설명
bsonUnserialize ( array $data ) Pass the values from the BSON document back to the object.
delete ( ) Deletes a model instance. Returning true on success or false otherwise.
findById ( $id )
findFirst ( array $parameters = null )
fireEventCancel ( string $eventName ) : boolean Fires an internal event that cancels the operation
save ( ) Creates/Updates a collection based on the values in the attributes
setId ( mixed $id ) Sets a value for the _id property, creates a MongoId object if needed
summatory ( $field, $conditions = null, $finalize = null )

보호된 메소드들

메소드 설명
_exists ( $collection ) @codingStandardsIgnoreStart
_getResultset ( $params, Phalcon\Mvc\CollectionInterface $collection, $connection, $unique ) @codingStandardsIgnoreStart

메소드 상세

_exists() 보호된 메소드

@codingStandardsIgnoreStart
protected _exists ( $collection )

_getResultset() 보호된 정적인 메소드

@codingStandardsIgnoreStart
protected static _getResultset ( $params, Phalcon\Mvc\CollectionInterface $collection, $connection, $unique )
$collection Phalcon\Mvc\CollectionInterface

bsonUnserialize() 공개 메소드

Pass the values from the BSON document back to the object.
public bsonUnserialize ( array $data )
$data array

delete() 공개 메소드

$robot = Robots::findFirst(); $robot->delete(); foreach (Robots::find() as $robot) { $robot->delete(); }
public delete ( )

findById() 공개 정적인 메소드

public static findById ( $id )

findFirst() 공개 정적인 메소드

public static findFirst ( array $parameters = null )
$parameters array

fireEventCancel() 공개 메소드

Fires an internal event that cancels the operation
public fireEventCancel ( string $eventName ) : boolean
$eventName string
리턴 boolean

save() 공개 메소드

Creates/Updates a collection based on the values in the attributes
public save ( )

setId() 공개 메소드

Sets a value for the _id property, creates a MongoId object if needed
public setId ( mixed $id )
$id mixed

summatory() 공개 정적인 메소드

public static summatory ( $field, $conditions = null, $finalize = null )

프로퍼티 상세

$_disableEvents 보호되어 있는 정적으로 프로퍼티

@codingStandardsIgnoreStart
protected static $_disableEvents