contentCssClass}\">\n";
$this->_openTag=ob_get_contents();
ob_clean();
}
/**
* Renders the content of the portlet.
*/
public function run()
{
$this->renderContent();
$content=ob_get_clean();
if($this->hideOnEmpty && trim($content)==='')
return;
echo $this->_openTag;
echo $content;
echo "
\n";
echo CHtml::closeTag($this->tagName);
}
/**
* Renders the decoration for the portlet.
* The default implementation will render the title if it is set.
*/
protected function renderDecoration()
{
if($this->title!==null)
{
echo "decorationCssClass}\">\n";
echo "
titleCssClass}\">{$this->title}
\n";
echo "
\n";
}
}
/**
* Renders the content of the portlet.
* Child classes should override this method to render the actual content.
*/
protected function renderContent()
{
}
}