* $this->widget('path.to.widgetClass',array('property1'=>'value1',...)); *
* $this->beginWidget('path.to.widgetClass',array('property1'=>'value1',...)); * // ... display other contents here * $this->endWidget(); *
* $this->beginClip('clipID'); * // ... display the clip contents * $this->endClip(); *
* echo $this->clips['clipID']; *
* echo $this->getController()->clips['clipID']; *
* if($this->beginCache('cacheID',array('property1'=>'value1',...)) * { * // ... display the content to be cached here * $this->endCache(); * } *
* if($this->beginCache($id)) * { * // ...generate content here * $this->endCache(); * } *