PHP 클래스 Phosphorum\Models\CacheableModel

상속: extends Phalcon\Mvc\Model
파일 보기 프로젝트 열기: phalcon/forum

공개 메소드들

메소드 설명
findFirst ( mixed $parameters = null ) Caches models data in memory
getFirst ( ) Allows to use the model as a resultset's row
setIsFresh ( mixed $value ) Allows to use the model as a resultset's row

보호된 메소드들

메소드 설명
createKey ( mixed $parameters ) : null | string Returns a string key based on the query parameters

메소드 상세

createKey() 보호된 정적인 메소드

Returns a string key based on the query parameters
protected static createKey ( mixed $parameters ) : null | string
$parameters mixed
리턴 null | string

findFirst() 공개 정적인 메소드

Caches models data in memory
public static findFirst ( mixed $parameters = null )
$parameters mixed

getFirst() 공개 메소드

Allows to use the model as a resultset's row
public getFirst ( )

setIsFresh() 공개 메소드

Allows to use the model as a resultset's row
public setIsFresh ( mixed $value )
$value mixed