Ejemplo n.º 1
0
 public function __construct($para = array())
 {
     if (!empty($para)) {
         $this->_table = $para['table'];
         $this->_pk = $para['pk'];
     }
     if (isset($this->_pre_cache_key) && (($ttl = getglobal('setting/memory/' . $this->_table)) !== null || ($ttl = $this->_cache_ttl) !== null) && memory('check')) {
         $this->_cache_ttl = $ttl;
         $this->_allowmem = true;
     }
     parent::__construct();
 }
Ejemplo n.º 2
0
 public function __construct()
 {
     parent::__construct();
     $this->log("Load Extension: Log");
 }