PHP 클래스 Phalcon\Test\Unit\Mvc\Model\Query\BuilderTest

저자: Andres Gutierrez ([email protected])
저자: Serghei Iakovlev ([email protected])
저자: Wojciech Ślawski ([email protected])
파일 보기 프로젝트 열기: phalcon/cphalcon

공개 메소드들

메소드 설명
testAction ( )
testConstructor ( ) Test checks passing query params and dependency injector into constructor
testConstructorConditions ( ) Test checks passing 'condition' query param into constructor.
testConstructorLimit ( ) Test checks passing 'limit'/'offset' query param into constructor.
testGroup ( )
testIssue1115 ( )
testIssue701 ( )
testSelectDistinctAll ( )

보호된 메소드들

메소드 설명
_before ( )

메소드 상세

_before() 보호된 메소드

protected _before ( )

testAction() 공개 메소드

public testAction ( )

testConstructor() 공개 메소드

Test checks passing query params and dependency injector into constructor
public testConstructor ( )

testConstructorConditions() 공개 메소드

Conditions can now be passed as an string(as before) and as an array of 3 elements: - condition string for example "age > :age: AND created > :created:" - bind params for example array('age' => 18, 'created' => '2013-09-01') - bind types for example array('age' => PDO::PARAM_INT, 'created' => PDO::PARAM_STR) First two params are REQUIRED, bind types are optional.

testConstructorLimit() 공개 메소드

limit key can take: - single numeric value - array of 2 values (limit, offset)

testGroup() 공개 메소드

public testGroup ( )

testIssue1115() 공개 메소드

public testIssue1115 ( )

testIssue701() 공개 메소드

public testIssue701 ( )

testSelectDistinctAll() 공개 메소드