多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# Abstract class **Phalcon\Cache\Backend**[](# "永久链接至标题") This class implements common functionality for backend adapters. A backend cache adapter may extend this class ### Methods[](# "永久链接至标题") public **getFrontend** () ... public **setFrontend** (*unknown* $frontend) ... public **getOptions** () ... public **setOptions** (*unknown* $options) ... public **getLastKey** () ... public **setLastKey** (*unknown* $lastKey) ... public **__construct** ([*Phalcon\Cache\FrontendInterface*](#) $frontend, [*array* $options]) Phalcon\Cache\Backend constructor public *mixed***start** (*int|string* $keyName, [*int* $lifetime]) Starts a cache. The keyname allows to identify the created fragment public **stop** ([*unknown* $stopBuffer]) Stops the frontend without store any cached content public **isFresh** () Checks whether the last cache is fresh or cached public **isStarted** () Checks whether the cache has starting buffering or not public *int***getLifetime** () Gets the last lifetime set | - [索引](# "总目录") - [下一页](# "Class Phalcon\Cache\Backend\Apc") | - [上一页](# "Class Phalcon\Assets\Resource\Js") | - [API Indice](#) »