Пример #1
0
 protected function __construct($id = "", $group = "")
 {
     try {
         parent::__construct($id, $group);
         $this->lifeTime = LBoxConfigSystem::getInstance()->getParamByPath("output/cache/expiration");
     } catch (Exception $e) {
         throw $e;
     }
 }
Пример #2
0
 /**
  * pretizeno o vyjmuti nekterych records
  * @param bool $groupOnly
  * @param string $mode
  */
 public function clean($groupOnly = true, $mode = "ingroup")
 {
     try {
         switch ($this->recordType) {
             case "acces":
                 return;
                 break;
         }
         parent::clean($groupOnly, $mode);
     } catch (Exception $e) {
         throw $e;
     }
 }