framework/basic/View.php
public function generateCSS()
    {
        $result = '';

        $cssRaw       = '';
        $this->styles = array_unique($this->styles, SORT_REGULAR);
        foreach ($this->styles as $style) {
            if ($style[1]) {
                $cssRaw.=$style[0];
            } else {
                $result.='<link href="'.$style[0].'" rel="stylesheet" type="text/css" />';
            }
        }
        $result.=$cssRaw != '' ? '<style>'.$cssRaw.'</style>' : '';

        return $result;
    }
public function generateCSS()
    {
        $result = '';

        $cssRaw       = '';
        $this->styles = array_unique($this->styles, SORT_REGULAR);
        foreach ($this->styles as $style) {
            if ($style[1]) {
                $cssRaw.=$style[0];
            } else {
                $result.='<link href="'.$style[0].'" rel="stylesheet" type="text/css" />';
            }
        }
        $result.=$cssRaw != '' ? '<style>'.$cssRaw.'</style>' : '';

        return $result;
    }
public function generateCSS ( ) { $ result = '' ; $ cssRaw = '' ; $ this -> styles = array_unique ( $ this -> styles , SORT_REGULAR ) ; foreach ( $ this -> styles as $ style ) { if ( $ style [ 1 ] ) { $ cssRaw .= $ style [ 0 ] ; } else { $ result .= '<link href="' . $ style [ 0 ] . '" rel="stylesheet" type="text/css" />' ; } } $ result .= $ cssRaw != '' ? '<style>' . $ cssRaw . '</style>' : '' ; return $ result ; }
Generate CSS tags

@return string
Generate CSS tags