Changeset 210 for trunk/trax/vendor/trax/trax_generator.php
- Timestamp:
- 05/29/06 01:36:55 (6 years ago)
- Files:
-
- 1 modified
-
trunk/trax/vendor/trax/trax_generator.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/trax/vendor/trax/trax_generator.php
r201 r210 548 548 } 549 549 550 $GLOBALS['current_controller_object']=& $this;550 Trax::$current_controller_object =& $this; 551 551 $model_class_name = Inflector::classify($model_name); 552 552 $singular_model_name = Inflector::singularize($model_name); … … 575 575 $controller_name = Inflector::underscore($controller_name); 576 576 } 577 $GLOBALS['current_controller_name'] = $controller_name; 578 $controller_file = 579 "$this->controller_path/" . $controller_name."_controller.php"; 580 $GLOBALS['current_controller_path'] = $controller_file; 577 Trax::$current_controller_name = $controller_name; 578 $controller_file = "$this->controller_path/" . $controller_name."_controller.php"; 579 Trax::$current_controller_path = $controller_file; 581 580 $non_scaffolded_actions = array(); 582 581 $illegal_views = array("index","add","edit","show");
