*
* @return boolean flag value
*/
-
function onInitializePlugin()
{
$this->_ensureConn();
*
* @return boolean hook success
*/
-
function onStartCacheGet(&$key, &$value)
{
$this->_ensureConn();
*
* @return boolean hook success
*/
-
function onStartCacheSet(&$key, &$value, &$flag, &$expiry, &$success)
{
$this->_ensureConn();
*
* @return boolean hook success
*/
-
function onStartCacheDelete(&$key, &$success)
{
$this->_ensureConn();
*
* @return void
*/
-
private function _ensureConn()
{
if (empty($this->_conn)) {
return true;
}
}
-