Ejemplo n.º 1
0
 protected function log($action, $msg, Table $table, $tableHistory = null)
 {
     $adminAuth = new AdminAuthModel();
     $admin = $adminAuth->getUser();
     log::save($this->_dao, $admin, $action, $msg, $table, $tableHistory);
 }
Ejemplo n.º 2
0
 public function relogin()
 {
     $admin = $this->getById($this->getId());
     $aam = new AdminAuthModel();
     $aam->login($admin['email'], $admin['password'], true);
 }