コード例 #1
0
 /**
  * Contructor method for custom functionality - add the fields to be marked as dates
  */
 public function construct()
 {
     //$this->addDateFields(array());
     // set the custom error messages
     $this->addCustomErrorMessages(array("userid.notblank" => "No User specified", "transactiontype.notblank" => "No transaction type specified", "transactiondetails.notblank" => "No transaction details specified", "transactiondate.notblank" => "No transaction date specified"));
     parent::construct();
 }
コード例 #2
0
 /**
  * Contructor method for custom functionality - add the fields to be marked as dates
  */
 public function construct()
 {
     parent::construct();
     // $this->addDateFields(array("startdate","enddate"));
     // set the custom error messages
     $this->addCustomErrorMessages(array("sessionid.notblank" => $this->translate->_("shift_sessionid_error"), "startdate.notblank" => $this->translate->_("shift_startdate_error"), "dateadded.notblank" => $this->translate->_("shift_dateadded_error"), "addedbyid.notblank" => $this->translate->_("shift_addedbyid_error")));
 }
コード例 #3
0
 public function construct()
 {
     parent::construct();
     // add the custom error messages for the fields in the base entity
     $this->addCustomErrorMessages(array("createdby.notblank" => "Please provide the user"));
 }
コード例 #4
0
 /**
  * Contructor method for custom functionality - add the fields to be marked as dates
  */
 public function construct()
 {
     parent::construct();
     // set the custom error messages
     $this->addCustomErrorMessages(array("groupid.notblank" => $this->translate->_("usergroup_groupid_error")));
 }
コード例 #5
0
 /**
  * Contructor method for custom functionality - add the fields to be marked as dates
  */
 public function construct()
 {
     parent::construct();
 }
コード例 #6
0
ファイル: Message.php プロジェクト: 7thZoneTechnology/hrms-1
 /**
  * Contructor method for custom functionality - add the fields to be marked as dates
  */
 public function construct()
 {
     parent::construct();
     // set the custom error messages
     $this->addCustomErrorMessages(array("contents.notblank" => $this->translate->_("message_contents_error")));
 }
コード例 #7
0
 /**
  * Contructor method for custom functionality - add the fields to be marked as dates
  */
 public function construct()
 {
     parent::construct();
     // set the custom error messages
     $this->addCustomErrorMessages(array("messageid.notblank" => $this->translate->_("message_messageid_error"), "recipientid.notblank" => $this->translate->_("message_recipientid_error")));
 }
コード例 #8
0
ファイル: Shift.php プロジェクト: 7thZoneTechnology/hrms-1
 /**
  * Contructor method for custom functionality - add the fields to be marked as dates
  */
 public function construct()
 {
     parent::construct();
     // set the custom error messages
     $this->addCustomErrorMessages(array("name.notblank" => $this->translate->_("shift_name_error")));
 }
コード例 #9
0
 /**
  * Contructor method for custom functionality - add the fields to be marked as dates
  */
 public function construct()
 {
     parent::construct();
     // set the custom error messages
     $this->addCustomErrorMessages(array("userid.notblank" => "Please specify a User"));
 }