Пример #1
0
 public function __construct($db = NULL, $table = NULL, $fluid = NULL, $ttl = 0)
 {
     parent::__construct($db, $table, $fluid, $ttl);
     // events -----------------------------------------
     $this->beforeerase(function ($self) {
         $self->clearCacheData();
     });
 }
Пример #2
0
 public function __construct($db = NULL, $table = NULL, $fluid = NULL, $ttl = 0)
 {
     $this->addStaticKillFieldConfig();
     parent::__construct($db, $table, $fluid, $ttl);
 }