/**
* Function to build the form
*
- * @return None
+ * @return void
* @access public
*/
public function buildQuickForm() {
$this->add('text', 'start', ts('Start Offset'), $attributes['start'], TRUE);
$this->add('text', 'end', ts('End Offset'), $attributes['end'], TRUE);
- $formatType = CRM_Core_Dao::getFieldValue('CRM_Core_DAO_PreferencesDate', $this->_id, 'name');
+ $formatType = CRM_Core_DAO::getFieldValue('CRM_Core_DAO_PreferencesDate', $this->_id, 'name');
if ($formatType == 'creditCard') {
$this->add('text', 'date_format', ts('Format'), $attributes['date_format'], TRUE);
*
* @access public
*
- * @return None
+ * @return void
*/
public function postProcess() {
if (!($this->_action & CRM_Core_Action::UPDATE)) {