Class CContentDecorator
CContentDecorator decorates the content it encloses with the specified view.
CContentDecorator is mostly used to implement nested layouts, i.e., a layout
is embedded within another layout. CBaseController defines a pair of
convenient methods to use CContentDecorator:
$this->beginContent('path/to/view');
// ... content to be decorated
$this->endContent();
The property CContentDecorator::$view specifies the name of the view that is used to
decorate the content. In the view, the content being decorated may be accessed
with variable <span
class="php-var">$content</span>.
- CComponent
 - 
			
			CBaseController
			
			
			
		 - 
			
			CWidget
			
			
			
		 - 
			
			CFilterWidget
			
			 implements 
				IFilter
			
			
		 - 
			
			COutputProcessor
			
			
			
		 - 
			
CContentDecorator			
			
			
		 
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/framework/web/widgets/CContentDecorator.php
			 public 
			
			
			
		 | 
		
		#
		 processOutput( string $output )
		Processes the captured output. This method decorates the output with the
specified   | 
	
			 protected 
			string
			
			
		 | 
		
			init(), 
			onProcessOutput(), 
			run()
		 | 
	
			__construct(), 
			filter(), 
			getIsFilter()
		 | 
	
			actions(), 
			getController(), 
			getId(), 
			getOwner(), 
			getViewFile(), 
			getViewPath(), 
			render(), 
			setId()
		 | 
	
			beginCache(), 
			beginClip(), 
			beginContent(), 
			beginWidget(), 
			createWidget(), 
			endCache(), 
			endClip(), 
			endContent(), 
			endWidget(), 
			renderFile(), 
			renderInternal(), 
			widget()
		 | 
	
			public  
			mixed
		 | 
		$view |  | 
		
			#
			 the name of the view that will be used to decorate the captured content. If this property is null (default value), the default layout will be used as the decorative view. Note that if the current controller does not belong to any module, the default layout refers to the application's CWebApplication::layout default layout; If the controller belongs to a module, the default layout refers to the module's CWebModule::layout default layout.  | 
	
			public  
			array
		 | 
		$data | array() | 
		
			#
			 the variables (name=>value) to be extracted and made available in the decorative view.  | 
	
			$stopAction
		 | 
	
			$actionPrefix, 
			$skin
		 | 
	
			$isFilter
		 | 
	
			$controller, 
			$id, 
			$owner, 
			$viewPath
		 |