summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/classes/Form/Input.class.php
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-12-21 17:06:56 -0500
committerStephen Beaver <sbeaver@netgate.com>2015-12-21 17:06:56 -0500
commitc70b6835c32aaf16b0f6d89e596bf70f4b03008c (patch)
tree3874a311f9a38075504ebd7492f9e4a0261bac00 /src/usr/local/www/classes/Form/Input.class.php
parent070a3568b90bd8636dd9e629ba63988ec8b62c96 (diff)
downloadpfsense-c70b6835c32aaf16b0f6d89e596bf70f4b03008c.zip
pfsense-c70b6835c32aaf16b0f6d89e596bf70f4b03008c.tar.gz
Added support for rows, cols and wrap to Forms_Textarea and to pkg_edit.php
Diffstat (limited to 'src/usr/local/www/classes/Form/Input.class.php')
-rw-r--r--src/usr/local/www/classes/Form/Input.class.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/usr/local/www/classes/Form/Input.class.php b/src/usr/local/www/classes/Form/Input.class.php
index 80b96c8..b8c0a30 100644
--- a/src/usr/local/www/classes/Form/Input.class.php
+++ b/src/usr/local/www/classes/Form/Input.class.php
@@ -122,6 +122,13 @@ class Form_Input extends Form_Element
return $this;
}
+ public function setCols($size)
+ {
+ $this->_attributes['cols'] = $size;
+
+ return $this;
+ }
+
public function setReadonly()
{
$this->_attributes['readonly'] = 'readonly';
OpenPOWER on IntegriCloud