コード例 #1
0
 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);
 }
コード例 #2
0
 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.');
 }
コード例 #3
0
 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);
 }
コード例 #4
0
ファイル: Username.php プロジェクト: joswilson/NotJustOK
 /**
  * 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);
 }
コード例 #5
0
 public function __construct($limit, $message = "")
 {
     $this->limit = $limit;
     if (empty($message)) {
         $message = "%element% is limited to " . $limit . " characters.";
     }
     parent::__construct($message);
 }
コード例 #6
0
 public function __construct()
 {
     parent::__construct();
     $this->message = t('Error: %element% must contain an email address.');
 }
コード例 #7
0
 public function __construct($pattern, $message = "")
 {
     $this->pattern = $pattern;
     parent::__construct($message);
 }
コード例 #8
0
 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);
 }
コード例 #9
0
 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>).');
 }
コード例 #10
0
ファイル: Name.php プロジェクト: vezla/pH7-Social-Dating-CMS
 public function __construct()
 {
     parent::__construct();
     $this->message = t("Error: %element% must be a valid name. The name entered doesn't seem correct.");
 }
コード例 #11
0
 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>).');
 }
コード例 #12
0
 public function __construct()
 {
     parent::__construct();
     $this->message = t('Error: %element% must contain a valid date.');
 }
コード例 #13
0
 /**
  * Constructor of class.
  *
  * @param $sTable Default 'Affiliates'
  */
 public function __construct($sTable = 'Affiliates')
 {
     parent::__construct();
     $this->sTable = $sTable;
 }
コード例 #14
0
 public function __construct()
 {
     parent::__construct();
     $this->message = t('Error: Your phone number is incorrect. Please enter full phone number with area code.');
 }
コード例 #15
0
 public function __construct()
 {
     parent::__construct();
     $this->message = t('Error: %element% must be numeric.');
 }