public function __construct() { parent::__construct(); $this->iMin = DbConfig::getSetting('minAgeRegistration'); $this->iMax = DbConfig::getSetting('maxAgeRegistration'); $this->message = t('You must be %0% to %1% years to register on the site.', $this->iMin, $this->iMax); }
public function __construct($sType = '', $sTable = 'Members') { parent::__construct(); $this->sTable = $sTable; $this->sType = $sType; $this->message = t('Error: Invalid email address or this email is already used by another member.'); }
public function __construct() { parent::__construct(); $this->iMin = DbConfig::getSetting('minPasswordLength'); $this->iMax = DbConfig::getSetting('maxPasswordLength'); $this->message = t('Error: Your password has to contain from %0% to %1% characters.', $this->iMin, $this->iMax); }
/** * Constructor of class. * * @param string $sTable Default 'Members' */ public function __construct($sTable = 'Members') { parent::__construct(); $this->sTable = $sTable; $this->iMin = DbConfig::getSetting('minUsernameLength'); $this->iMax = DbConfig::getSetting('maxUsernameLength'); $this->message = t('Error: Your username has to contain from %0% to %1% characters, your username is not available or your username already used by other member.', $this->iMin, $this->iMax); }
public function __construct($limit, $message = "") { $this->limit = $limit; if (empty($message)) { $message = "%element% is limited to " . $limit . " characters."; } parent::__construct($message); }
public function __construct() { parent::__construct(); $this->message = t('Error: %element% must contain an email address.'); }
public function __construct($pattern, $message = "") { $this->pattern = $pattern; parent::__construct($message); }
public function __construct($sPattern, $sMsg = '') { $this->pattern = $sPattern; $this->message = t('Error: %element% contains invalid characters. Here is the rule to be observed: "%0%"', $this->pattern); parent::__construct($sMsg); }
public function __construct() { parent::__construct(); $this->message = t('Error: %element% must contain a URL (e.g., <a href="http://sofun.co">http://www.sofun.co</a>).'); }
public function __construct() { parent::__construct(); $this->message = t("Error: %element% must be a valid name. The name entered doesn't seem correct."); }
public function __construct() { parent::__construct(); $this->message = t('Error: %element% must contain a URL (e.g., <a href="http://cool-on-web.com">http://www.cool-on-Web.com</a>).'); }
public function __construct() { parent::__construct(); $this->message = t('Error: %element% must contain a valid date.'); }
/** * Constructor of class. * * @param $sTable Default 'Affiliates' */ public function __construct($sTable = 'Affiliates') { parent::__construct(); $this->sTable = $sTable; }
public function __construct() { parent::__construct(); $this->message = t('Error: Your phone number is incorrect. Please enter full phone number with area code.'); }
public function __construct() { parent::__construct(); $this->message = t('Error: %element% must be numeric.'); }