From c70b6835c32aaf16b0f6d89e596bf70f4b03008c Mon Sep 17 00:00:00 2001 From: Stephen Beaver Date: Mon, 21 Dec 2015 17:06:56 -0500 Subject: Added support for rows, cols and wrap to Forms_Textarea and to pkg_edit.php --- src/usr/local/www/classes/Form/Input.class.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/usr/local/www/classes/Form/Input.class.php') 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'; -- cgit v1.1