Exemple #1
0
 public function updateAll($data)
 {
     if ($data['password']) {
         $data['password'] = password_hash($data['password'], PASSWORD_DEFAULT);
     }
     return parent::updateAll($data);
 }
Exemple #2
0
 public function __construct()
 {
     parent::__construct();
     $this->table = 'news';
 }
 public function __construct()
 {
     parent::__construct();
     $this->table = 'basic_contents';
 }
Exemple #4
0
 public function __construct()
 {
     parent::__construct();
     $this->table = 'projects';
 }
Exemple #5
0
 public function __construct()
 {
     parent::__construct();
     $this->table = 'testimonies';
 }