/** * 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(); }
/** * 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"))); }
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")); }
/** * 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"))); }
/** * Contructor method for custom functionality - add the fields to be marked as dates */ public function construct() { parent::construct(); }
/** * 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"))); }
/** * 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"))); }
/** * 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"))); }
/** * 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")); }