public function __construct($options = null)
 {
     $this->_oAuth = AppCms2_Controller_Plugin_ModuleAuth::getInstance();
     if ($this->_oAuth->hasIdentity()) {
         $this->_nUserId = $this->_oAuth->getStorage()->read()->user_id;
     }
     $oModelUser = new Admin_Model_User();
     $oAllUser = $oModelUser->findUsers(array(3, 4));
     if (isset($oAllUser)) {
         $this->_aAllUser[0] = "-";
         foreach ($oAllUser as $oValue) {
             $this->_aAllUser[$oValue->id] = trim($oValue->first_name . " " . $oValue->last_name);
         }
     }
     parent::__construct($options);
 }
 public function __construct($options = null)
 {
     $this->_oAuth = AppCms2_Controller_Plugin_ModuleAuth::getInstance();
     if ($this->_oAuth->hasIdentity()) {
         $this->_nUserId = $this->_oAuth->getStorage()->read()->user_id;
     }
     $oModelUser = new Admin_Model_User();
     $oAllUser = $oModelUser->findUsers(array(3, 4));
     if (isset($oAllUser)) {
         $this->_aAllUser[0] = "-";
         foreach ($oAllUser as $oValue) {
             $this->_aAllUser[$oValue->id] = trim($oValue->first_name . " " . $oValue->last_name);
         }
     }
     $oModelNotificationType = new Admin_Model_NotificationType();
     $oAllNotificationType = $oModelNotificationType->getAll();
     if (isset($oAllNotificationType)) {
         foreach ($oAllNotificationType as $oValue) {
             $this->_aAllNotificationType[$oValue->id] = stripcslashes($oValue->name);
         }
     }
     $oModelNotificationPriority = new Admin_Model_NotificationPriority();
     $oAllNotificationPriority = $oModelNotificationPriority->getAll();
     if (isset($oAllNotificationPriority)) {
         foreach ($oAllNotificationPriority as $oValue) {
             $this->_aAllNotificationPriority[$oValue->id] = stripcslashes($oValue->name);
         }
     }
     $oModelNotificationStatus = new Admin_Model_NotificationStatus();
     $oAllNotificationStatus = $oModelNotificationStatus->getAll();
     if (isset($oAllNotificationStatus)) {
         foreach ($oAllNotificationStatus as $oValue) {
             $this->_aAllNotificationStatus[$oValue->id] = stripcslashes($oValue->name);
         }
     }
     $oModelNotificationCategory = new Admin_Model_NotificationCategory();
     $oAllNotificationCategory = $oModelNotificationCategory->getAll();
     if (isset($oAllNotificationCategory)) {
         foreach ($oAllNotificationCategory as $oValue) {
             $this->_aAllNotificationCategory[0] = "-";
             $this->_aAllNotificationCategory[$oValue->id] = stripcslashes($oValue->name);
         }
     }
     parent::__construct($options);
 }