| 1 | <?php |
||
| 12 | class Text extends Base |
||
| 13 | {
|
||
| 14 | /** |
||
| 15 | * Specify false to validate that the value's length must be > 0 |
||
| 16 | * @param $allowBlank |
||
| 17 | * @return $this |
||
| 18 | */ |
||
| 19 | public function setAllowBlank($allowBlank){
|
||
| 22 | |||
| 23 | public function getAllowBlank(){
|
||
| 26 | |||
| 27 | /** |
||
| 28 | * true if this field should automatically grow and shrink to its content |
||
| 29 | * @param $grow |
||
| 30 | * @return $this |
||
| 31 | */ |
||
| 32 | public function setGrow($grow){
|
||
| 35 | |||
| 36 | public function getGrow(){
|
||
| 39 | |||
| 40 | /** |
||
| 41 | * false to prevent the user from typing text directly into the field |
||
| 42 | * @param $editable |
||
| 43 | * @return $this |
||
| 44 | */ |
||
| 45 | public function setEditable($editable){
|
||
| 48 | |||
| 49 | public function getEditable(){
|
||
| 52 | |||
| 53 | |||
| 54 | } |