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