Example #1
0
 public function delete($id, $is_perm = NULL)
 {
     if ($is_perm) {
         //first, remove files
         $item = $this->one($id);
         $this->remove_upload($id, $item['ext']);
     }
     parent::delete($id, $is_perm);
 }
Example #2
0
 public function __construct()
 {
     parent::__construct();
     $this->table_name = 'att_categories';
 }
Example #3
0
 public function is_exists($email, $not_id = NULL)
 {
     return parent::is_exists($email, 'email', $not_id);
 }
Example #4
0
 public function __construct()
 {
     parent::__construct();
     $this->table_name = 'demo_dicts';
 }
Example #5
0
 public function is_exists($icode, $not_id = NULL)
 {
     return parent::is_exists($icode, 'icode', $not_id);
 }