Source for file form_field_ereg.class.php
Documentation is available at form_field_ereg.class.php
// *** Tangra (Application Framework and Tools for PHP)
// $Id: form_field_ereg.class.php 514 2007-04-29 10:55:12Z ogrebg $
* Contains class Form_Field_ereg
require_once(TANGRA_MAIN_DIR. 'form/fields/text/form_field_text.class.php');
* Represents text field that is checked for validity against given ereg
* @param string $name Name of the field
* @param boolean $required Is field required. Default is false
* @param integer $maxlength Maximum length of the text. Default is 100
* @param string $ereg Ereg expression
* @param string $value Default value.
function __construct($name, $required = false, $maxlength = 100, $ereg, $value = NULL) {
parent::__construct($name, $required, $maxlength, $value);
* Performs basic check for validity
|