PHP 클래스 phpDataMapper_Relation_HasMany, phpDataMapper

저자: Vance Lucas ([email protected])
상속: extends phpDataMapper_Relation, implements Countable, implements IteratorAggregate, implements ArrayAccess
파일 보기 프로젝트 열기: vlucas/phpDataMapper

공개 메소드들

메소드 설명
__call ( $func, $args ) Passthrough for method chaining on the Query object
all ( ) : phpDataMapper_Query Load records with current relation data
count ( ) : integer SPL Countable function Called automatically when attribute is used in a 'count()' function call
first ( ) : phpDataMapper_Entity Find first record in the set
getIterator ( ) : phpDataMapper_Model_ResultSet SPL IteratorAggregate function Called automatically when attribute is used in a 'foreach' loop
offsetExists ( $key ) ----------------------------------------------
offsetGet ( $key )
offsetSet ( $key, $value )
offsetUnset ( $key )

메소드 상세

__call() 공개 메소드

Passthrough for method chaining on the Query object
public __call ( $func, $args )

all() 공개 메소드

Load records with current relation data
public all ( ) : phpDataMapper_Query
리턴 phpDataMapper_Query

count() 공개 메소드

SPL Countable function Called automatically when attribute is used in a 'count()' function call
public count ( ) : integer
리턴 integer

first() 공개 메소드

Find first record in the set
public first ( ) : phpDataMapper_Entity
리턴 phpDataMapper_Entity

getIterator() 공개 메소드

SPL IteratorAggregate function Called automatically when attribute is used in a 'foreach' loop
public getIterator ( ) : phpDataMapper_Model_ResultSet
리턴 phpDataMapper_Model_ResultSet

offsetExists() 공개 메소드

----------------------------------------------
public offsetExists ( $key )

offsetGet() 공개 메소드

public offsetGet ( $key )

offsetSet() 공개 메소드

public offsetSet ( $key, $value )

offsetUnset() 공개 메소드

public offsetUnset ( $key )