Agile Toolkit
4.2
Agile Toolkit is a powerful web development framework. Inspired by GUI Applications development
|
Public Member Functions | |
getInput ($attr=array()) | |
setFormat ($format, $separator='-') | |
loadPOST () | |
Protected Attributes | |
$format = '*' | |
$separator = '-' |
Represents a field that consists of several groups of values separated by a divider, e.g. 123-456-789 Each group is a line input, separator is a text between inputs
Field value does not contain separators
To set the format of the field use the setFormat($format) method. $format is a string like '3-3-3-1', where numbers represent a number of chars in a group, '*' means all the remaining chars ($format='*' turns input to a generic line input)
Created on 01.02.2008 by *Camper* (camper@adevel.com)
getInput | ( | $ | attr = array() | ) |
Reimplemented from Form_Field.
loadPOST | ( | ) |
Reimplemented from Form_Field.
setFormat | ( | $ | format, |
$ | separator = '-' |
||
) |
$format = '*' [protected] |
$separator = '-' [protected] |
Reimplemented from Form_Field.