public function onPreRender($param)
{
$cs = $this->getPage()->getClientScript();
$styles = preg_split('/,|\\s+/', $this->getPradoStyles());
foreach ($styles as $style) {
if (($style = trim($style)) !== '') {
$cs->registerPradoStyle($style);
}
}
if (($url = $this->getStyleSheetUrl()) !== '') {
$cs->registerStyleSheetFile($url, $url, $this->getMediaType());
}
}