Exemplo n.º 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();
 }
Exemplo n.º 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")));
 }
Exemplo n.º 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"));
 }
Exemplo n.º 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")));
 }
Exemplo n.º 5
0
 /**
  * Contructor method for custom functionality - add the fields to be marked as dates
  */
 public function construct()
 {
     parent::construct();
 }
Exemplo n.º 6
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("contents.notblank" => $this->translate->_("message_contents_error")));
 }
Exemplo n.º 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")));
 }
Exemplo n.º 8
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("name.notblank" => $this->translate->_("shift_name_error")));
 }
Exemplo n.º 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"));
 }