lockTime) { $this->lockTime--; if (!$this->lockTime) { $this->releaseLock($smarty, $cached); } } return parent::hasLock($smarty, $cached); } public function get(Smarty_Internal_Template $_template) { $this->contents = array(); $this->timestamps = array(); $t = $this->getContent($_template); return $t ? $t : null; } public function __sleep() { return array(); } public function __wakeup() { $this->__construct(); } }