PHP 클래스 Controllers\Api\Statements

상속: extends Controllers\Api\Base
파일 보기 프로젝트 열기: learninglocker/learninglocker

보호된 프로퍼티들

프로퍼티 타입 설명
$activity
$query

공개 메소드들

메소드 설명
__construct ( Locker\Repository\Query\QueryRepository $query ) Constructs a new StatementController.
aggregate ( ) : Aggregate Filters statements using the aggregate method.
aggregateObject ( ) : Aggregate Aggregates by object.
aggregateTime ( ) : Aggregate Aggregates by time.
index ( ) : Json Return raw statements based on filter
insert ( ) : Json<[String]> Inserts new statements based on existing ones in one query using our existing aggregation.
void ( )
where ( ) : [Statement] Filters statements using the where method.

비공개 메소드들

메소드 설명
convertDte ( $value )
convertOid ( $value )
getParam ( $param )
getPipeline ( )

메소드 상세

__construct() 공개 메소드

Constructs a new StatementController.
public __construct ( Locker\Repository\Query\QueryRepository $query )
$query Locker\Repository\Query\QueryRepository

aggregate() 공개 메소드

Filters statements using the aggregate method.
public aggregate ( ) : Aggregate
리턴 Aggregate http://php.net/manual/en/mongocollection.aggregate.php#refsect1-mongocollection.aggregate-examples

aggregateObject() 공개 메소드

Aggregates by object.
public aggregateObject ( ) : Aggregate
리턴 Aggregate http://php.net/manual/en/mongocollection.aggregate.php#refsect1-mongocollection.aggregate-examples

aggregateTime() 공개 메소드

Aggregates by time.
public aggregateTime ( ) : Aggregate
리턴 Aggregate http://php.net/manual/en/mongocollection.aggregate.php#refsect1-mongocollection.aggregate-examples

index() 공개 메소드

Return raw statements based on filter
public index ( ) : Json
리턴 Json $results

insert() 공개 메소드

Inserts new statements based on existing ones in one query using our existing aggregation.
public insert ( ) : Json<[String]>
리턴 Json<[String]>

void() 공개 메소드

public void ( )

where() 공개 메소드

Filters statements using the where method.
public where ( ) : [Statement]
리턴 [Statement]

프로퍼티 상세

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

protected $activity

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

protected $query