setLoggable(); $this->setDateFields(array('notify_date')); } function check() { if(empty($this->notify_email) || !filter_var($this->notify_email, FILTER_VALIDATE_EMAIL)) { vmError(vmText::_('COM_VIRTUEMART_ENTER_A_VALID_EMAIL_ADDRESS'),vmText::_('COM_VIRTUEMART_ENTER_A_VALID_EMAIL_ADDRESS')); return false; } return parent::check(); } } // pure php no closing tag