summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/classes/Form/Input.class.php
diff options
context:
space:
mode:
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