PHP 클래스 Phalcon\Mvc\Model\MetaData\Base

저자: Nikita Vershinin ([email protected])
저자: Ilya Gusev ([email protected])
상속: extends Phalcon\Mvc\Model\MetaData, implements Phalcon\Mvc\Model\MetaDataInterface
파일 보기 프로젝트 열기: phalcon/incubator 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$defaults array Default options for cache backend.
$options array Backend's options.

공개 메소드들

메소드 설명
__construct ( null | array $options = null ) Class constructor.
read ( string $key ) : array
write ( string $key, array $data )

보호된 메소드들

메소드 설명
getCacheBackend ( ) : Phalcon\Cache\BackendInterface Returns cache backend instance.
prepareKey ( string $key ) : string Returns the key with a prefix or other changes

메소드 상세

__construct() 공개 메소드

Class constructor.
public __construct ( null | array $options = null )
$options null | array

getCacheBackend() 추상적인 보호된 메소드

Returns cache backend instance.
abstract protected getCacheBackend ( ) : Phalcon\Cache\BackendInterface
리턴 Phalcon\Cache\BackendInterface

prepareKey() 보호된 메소드

Returns the key with a prefix or other changes
protected prepareKey ( string $key ) : string
$key string
리턴 string

read() 공개 메소드

public read ( string $key ) : array
$key string
리턴 array

write() 공개 메소드

public write ( string $key, array $data )
$key string
$data array

프로퍼티 상세

$defaults 보호되어 있는 정적으로 프로퍼티

Default options for cache backend.
protected static array $defaults
리턴 array

$options 보호되어 있는 프로퍼티

Backend's options.
protected array $options
리턴 array