PHP 클래스 Prado\Data\SqlMap\DataMapper\TLazyLoadList

부터: 3.1
파일 보기 프로젝트 열기: pradosoft/prado 1 사용 예제들

공개 메소드들

메소드 설명
hasMethod ( $method ) : boolean Try to fetch the data when any of the proxy collection method is called.
intercept ( $method, $arguments ) Relay the method call to the underlying collection.
newInstance ( $mappedStatement, $param, $target, $propertyName ) : TObjectProxy Create a new instance of a lazy collection.

보호된 메소드들

메소드 설명
__construct ( $mappedStatement, $param, $target, $propertyName ) Create a new proxy list that will execute the mapped statement when any of the list's method are accessed for the first time.
fetchListData ( ) Load the data by executing the mapped statement.

메소드 상세

__construct() 보호된 메소드

Create a new proxy list that will execute the mapped statement when any of the list's method are accessed for the first time.
protected __construct ( $mappedStatement, $param, $target, $propertyName )

fetchListData() 보호된 메소드

Load the data by executing the mapped statement.
protected fetchListData ( )

hasMethod() 공개 메소드

Try to fetch the data when any of the proxy collection method is called.
public hasMethod ( $method ) : boolean
리턴 boolean true if the underlying collection has the corresponding method name.

intercept() 공개 메소드

Relay the method call to the underlying collection.
public intercept ( $method, $arguments )

newInstance() 공개 정적인 메소드

Create a new instance of a lazy collection.
public static newInstance ( $mappedStatement, $param, $target, $propertyName ) : TObjectProxy
리턴 TObjectProxy proxied collection object.