From 4fe895a2c473cd22e4741552186fe2be48503167 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 15 Dec 2008 09:21:44 +0000 Subject: Delete forge in preparation to refresh it from vendors/forge/modified --- modules/forge/libraries/Form_Group.php | 89 ---------------------------------- 1 file changed, 89 deletions(-) delete mode 100644 modules/forge/libraries/Form_Group.php (limited to 'modules/forge/libraries/Form_Group.php') diff --git a/modules/forge/libraries/Form_Group.php b/modules/forge/libraries/Form_Group.php deleted file mode 100644 index ec6b3ff3..00000000 --- a/modules/forge/libraries/Form_Group.php +++ /dev/null @@ -1,89 +0,0 @@ - 'group', - 'name' => '', - 'class' => 'group', - 'label' => '', - 'message' => '' - ); - - // Input method - public $method; - - public function __construct($name = NULL, $class = 'group') - { - $this->data['name'] = $name; - $this->data['class'] = $class; - - // Set dummy data so we don't get errors - $this->attr['action'] = ''; - $this->attr['method'] = 'post'; - } - - public function __get($key) - { - if ($key == 'type' || $key == 'name' || $key == 'label') - { - return $this->data[$key]; - } - return parent::__get($key); - } - - public function __set($key, $val) - { - if ($key == 'method') - { - $this->attr['method'] = $val; - } - $this->$key = $val; - } - - public function label($val = NULL) - { - if ($val === NULL) - { - if ($label = $this->data['label']) - { - return $this->data['label']; - } - } - else - { - $this->data['label'] = ($val === TRUE) ? ucwords(inflector::humanize($this->data['name'])) : $val; - return $this; - } - } - - public function message($val = NULL) - { - if ($val === NULL) - { - return $this->data['message']; - } - else - { - $this->data['message'] = $val; - return $this; - } - } - - public function render() - { - // No Sir, we don't want any html today thank you - return; - } - -} // End Form Group \ No newline at end of file -- cgit v1.2.3