PHP 클래스 Elgg\Mocks\Database\RelationshipsTable
It populates the mock database with query specifications for predictable results
when relationship are requested or deleted.
Note that this mock is not designed for testing the relationships table itself.
When testing the relationships table, you should define query specs individually for the
method being tested.
파일 보기
프로젝트 열기: elgg/elgg
공개 프로퍼티들
프로퍼티 |
타입 |
설명 |
|
$rows |
stdClas\stdClass[] |
|
|
공개 메소드들
메소드 상세
public add ( $guid_one, $relationship, $guid_two, $return_id = false ) |
Add query specs for a relationship data row
프로퍼티 상세
public stdClass[],stdClas $rows |
리턴 |
stdClas\stdClass[] |
|