Changeset 2022
- Timestamp:
- 02/10/2008 12:11:00 PM (10 months ago)
- Location:
- trunk/modules/forge/libraries
- Files:
-
- 6 modified
-
Forge.php (modified) (2 diffs)
-
Form_Checklist.php (modified) (1 diff)
-
Form_Group.php (modified) (1 diff)
-
Form_Hidden.php (modified) (2 diffs)
-
Form_Input.php (modified) (1 diff)
-
Form_Submit.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/forge/libraries/Forge.php
r1923 r2022 208 208 * @return string 209 209 */ 210 public function html($template = 'forge_template', $custom = FALSE)210 public function render($template = 'forge_template', $custom = FALSE) 211 211 { 212 212 // Load template … … 279 279 public function __toString() 280 280 { 281 return $this-> html();281 return $this->render(); 282 282 } 283 283 -
trunk/modules/forge/libraries/Form_Checklist.php
r1923 r2022 44 44 } 45 45 46 public function html()46 public function render() 47 47 { 48 48 // Import base data -
trunk/modules/forge/libraries/Form_Group.php
r1923 r2022 79 79 } 80 80 81 public function html()81 public function render() 82 82 { 83 83 // No Sir, we don't want any html today thank you -
trunk/modules/forge/libraries/Form_Hidden.php
r1923 r2022 14 14 protected $data = array 15 15 ( 16 'name' => '', 16 17 'type' => 'hidden', 17 18 'class' => 'hidden', … … 21 22 protected $protect = array('type', 'label'); 22 23 23 public function html()24 public function render() 24 25 { 25 26 $data = $this->data; -
trunk/modules/forge/libraries/Form_Input.php
r1923 r2022 183 183 * @return string 184 184 */ 185 public function html()185 public function render() 186 186 { 187 187 // Make sure validation runs -
trunk/modules/forge/libraries/Form_Submit.php
r1923 r2022 25 25 } 26 26 27 public function html()27 public function render() 28 28 { 29 29 $data = $this->data;
