Class jDatatypeString

Description

Datatype String.

Possible facets are: 'length','minLength','maxLength', 'pattern'

Located in /utils/jDatatype.class.php (line 90)

jDatatype
   |
   --jDatatypeString
Variable Summary
mixed $facets
mixed $length
mixed $maxLength
mixed $minLength
mixed $pattern
Method Summary
void allowWhitespace ()
void check ( $value)
Variables
mixed $facets = array('length','minLength','maxLength', 'pattern') (line 95)
  • access: protected

Redefinition of:
jDatatype::$facets
mixed $length = null (line 91)
  • access: protected
mixed $maxLength = null (line 93)
  • access: protected
mixed $minLength = null (line 92)
  • access: protected
mixed $pattern = null (line 94)
  • access: protected

Inherited Variables

Inherited from jDatatype

jDatatype::$hasFacets
Methods
allowWhitespace (line 115)
  • access: public
void allowWhitespace ()

Redefinition of:
jDatatype::allowWhitespace()
says if the value can contain only whitespaces
check (line 97)
  • access: public
void check ( $value)
  • $value

Redefinition of:
jDatatype::check()
verify a value : it should correspond to the datatype

Inherited Methods

Inherited From jDatatype

jDatatype::addFacet()
jDatatype::allowWhitespace()
jDatatype::check()
jDatatype::getFacet()
jDatatype::_addFacet()

Documentation generated on Mon, 26 Oct 2015 21:53:01 +0100 by phpDocumentor 1.4.3