public function __construct($id = false) { $this->id = $id ?: 'form' . self::$formcount; if ($id) { if (isset($_POST[$this->id])) { parent::__construct($_POST); } else { if (isset($_GET[$this->id])) { parent::__construct($_GET); } else { parent::__construct(array()); } } } else { if (!empty($_POST)) { parent::__construct($_POST); } else { if (!empty($_GET)) { parent::__construct($_GET); } else { parent::__construct(array()); } } } self::$formcount++; }
public function __construct($limit, $message = "") { $this->limit = $limit; if (empty($message)) { $message = "%element% is limited to " . $limit . " characters."; } parent::__construct($message); }
public function __construct($pattern, $message = "") { if (!empty($message)) { $this->message = $message; } else { $this->message = RM_UI_Strings::get('FORM_ERR_INVALID_REGEX'); } $this->pattern = $pattern; parent::__construct($this->message); }
public function __construct($name, $greaterThan, $equalTo = false) { parent::__construct($name); $this->greaterThan = $greaterThan; $this->equalTo = $equalTo; }
public function __construct($name, $equalTo) { parent::__construct($name); $this->equalTo = $equalTo; }
public function __construct(array $array) { parent::__construct($array); $this->setErrorsFile(); }
function __construct() { parent::__construct(); }
public function __construct($name, $lessThan, $equalTo = false) { parent::__construct($name); $this->lessThan = $lessThan; $this->equalTo = $equalTo; }
public function __construct($pattern, $message = "") { $this->pattern = $pattern; parent::__construct($message); }
public function __construct($app, $em) { parent::__construct($app, $em); }