yiiapp/protected/components/Controller.php 控制器基类

<?php
/**
 * Controller is the customized base controller class.
 * All controller classes for this application should extend from this base class.
 * 控制器是定制的基础类
 * 此应用程序的所有控制器类应该扩展从本基类
 */
class Controller extends CController
{
	/**
	 * @var string the default layout for the controller view. Defaults to '//layouts/column1',
	 * meaning using a single column layout. See 'protected/views/layouts/column1.php'.
	 * @ VAR字符串的默认布局视图控制器。默认为'// layouts/column1'
     * 含义使用单列布局。请参阅“protected/views/layouts/column1.php”。
	 */
	public $layout='//layouts/column1';
	
	
	
	/**
	 * @var array context menu items. This property will be assigned to {@link CMenu::items}.
	 * 上下文菜单项。此属性将被分配到{@} CMenu的::。 
	 */
	public $menu=array();
	
	/**
	 * @var array the breadcrumbs of the current page. The value of this property will
	 * be assigned to {@link CBreadcrumbs::links}. Please refer to {@link CBreadcrumbs::links}
	 * for more details on how to specify this property.
	 * 的面包当前页面。此属性的值将
	 * {@的链接CBreadcrumbs::左}被分配到。请参阅{@链接CBreadcrumbs::链接}
	 * 如何指定此属性的更多细节。
	 */
	public $breadcrumbs=array();
}

  

posted @ 2013-06-22 17:27  简单--生活  阅读(223)  评论(0)    收藏  举报
简单--生活(CSDN)