Changeset 2022

Show
Ignore:
Timestamp:
02/10/2008 12:11:00 PM (10 months ago)
Author:
Shadowhand
Message:

Fixes to Forge:

  • Replaced html() with render() on all Forge classes
  • Minor cleanups in various classes
Location:
trunk/modules/forge/libraries
Files:
6 modified

Legend:

Unmodified
Added
Removed
  • trunk/modules/forge/libraries/Forge.php

    r1923 r2022  
    208208         * @return  string 
    209209         */ 
    210         public function html($template = 'forge_template', $custom = FALSE) 
     210        public function render($template = 'forge_template', $custom = FALSE) 
    211211        { 
    212212                // Load template 
     
    279279        public function __toString() 
    280280        { 
    281                 return $this->html(); 
     281                return $this->render(); 
    282282        } 
    283283 
  • trunk/modules/forge/libraries/Form_Checklist.php

    r1923 r2022  
    4444        } 
    4545 
    46         public function html() 
     46        public function render() 
    4747        { 
    4848                // Import base data 
  • trunk/modules/forge/libraries/Form_Group.php

    r1923 r2022  
    7979        } 
    8080 
    81         public function html() 
     81        public function render() 
    8282        { 
    8383                // No Sir, we don't want any html today thank you 
  • trunk/modules/forge/libraries/Form_Hidden.php

    r1923 r2022  
    1414        protected $data = array 
    1515        ( 
     16                'name'  => '', 
    1617                'type'  => 'hidden', 
    1718                'class' => 'hidden', 
     
    2122        protected $protect = array('type', 'label'); 
    2223 
    23         public function html() 
     24        public function render() 
    2425        { 
    2526                $data = $this->data; 
  • trunk/modules/forge/libraries/Form_Input.php

    r1923 r2022  
    183183         * @return  string 
    184184         */ 
    185         public function html() 
     185        public function render() 
    186186        { 
    187187                // Make sure validation runs 
  • trunk/modules/forge/libraries/Form_Submit.php

    r1923 r2022  
    2525        } 
    2626 
    27         public function html() 
     27        public function render() 
    2828        { 
    2929                $data = $this->data;