Changeset 194 for trunk/trax/vendor/trax/action_controller.php
- Timestamp:
- 03/31/06 11:04:11 (6 years ago)
- Files:
-
- 1 modified
-
trunk/trax/vendor/trax/action_controller.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/trax/vendor/trax/action_controller.php
r192 r194 276 276 public $views_file_extention = TRAX_VIEWS_EXTENTION; 277 277 278 /** 279 * Render controllers layout 280 * 281 * Can be overridden in the child controller to false 282 * @var boolean 283 */ 284 public $render_layout = true; 285 278 286 /** 279 287 * Whether to keep flash message after displaying it … … 521 529 */ 522 530 function process_route() { 523 524 $render_layout = true; 531 525 532 # First try to load the routes and setup the paths to everything 526 533 if(!$this->loaded) { … … 680 687 if(!$this->controller_object->render_file($layout_file, false, $locals)) { 681 688 # No layout template so just echo out whatever is in $content_for_layout 689 echo "HERE"; 682 690 echo $content_for_layout; 683 691 }
