Show
Ignore:
Timestamp:
12/28/2007 01:01:26 PM (13 months ago)
Author:
Shadowhand
Message:

Fixing the instance/factory names:

  • Changed ORM::instance() to ORM::factory()
  • Changed View::instance() to View::instance()
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/ORM.php

    r1629 r1638  
    5353         * @return  object 
    5454         */ 
    55         public static function instance($model = FALSE, $id = FALSE) 
     55        public static function factory($model = FALSE, $id = FALSE) 
    5656        { 
    5757                $model = empty($model) ? __CLASS__ : ucfirst($model).'_Model';