diff options
-rw-r--r-- | src/usr/local/www/classes/Form/Group.class.php | 4 | ||||
-rw-r--r-- | src/usr/local/www/classes/Form/Input.class.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/local/www/classes/Form/Group.class.php b/src/usr/local/www/classes/Form/Group.class.php index 64d1db3..e1ddaac 100644 --- a/src/usr/local/www/classes/Form/Group.class.php +++ b/src/usr/local/www/classes/Form/Group.class.php @@ -132,11 +132,11 @@ EOT; foreach ($missingWidth as $input) $input->setWidth($spaceLeft / count($missingWidth)); - if (strtolower($this->_labelTarget->get_Type()) == 'hidden') + if (strtolower($this->_labelTarget->getType()) == 'hidden') $hidden = true; $form_controls = array('input', 'select', 'button', 'textarea', 'option', 'optgroup', 'fieldset', 'label'); - if (in_array(strtolower($this->_labelTarget->gettagName()), $form_controls) && !$hidden) + if (in_array(strtolower($this->_labelTarget->getTagName()), $form_controls) && !$hidden) $target = $this->_labelTarget->getId(); $inputs = implode('', $this->_inputs); diff --git a/src/usr/local/www/classes/Form/Input.class.php b/src/usr/local/www/classes/Form/Input.class.php index 836251d..4cdfb28 100644 --- a/src/usr/local/www/classes/Form/Input.class.php +++ b/src/usr/local/www/classes/Form/Input.class.php @@ -106,12 +106,12 @@ class Form_Input extends Form_Element return $this->_attributes['id']; } - public function get_Type() + public function getType() { return $this->_attributes['type']; } - public function gettagName() + public function getTagName() { return $this->_tagName; } |