Пример #1
0
 /**
  *
  * @param Phanbook\Models\Users $object
  */
 public function setSession($object)
 {
     $this->session->set('auth', array('id' => $object->getId(), 'admin' => $object->getAdmin(), 'moderator' => $object->getModerator(), 'theme' => $object->getTheme(), 'name' => $object->getInforUser(), 'fullname' => $object->getFullName(), 'username' => $object->getUsername(), 'email' => $object->getEmail()));
 }