src/Web/ClientProxy.php
public function getAppendedStyles($comb = 0)
    {
        $extraStyles = implode("", $this->_extraStyles);
        $extraStyle_array = explode("type=\"text/css\">", $extraStyles);
        if (defined("OPENBIZ_RESOURCE_PHP") && $comb) {
            $css_scripts = OPENBIZ_RESOURCE_PHP . "?f=";
            $matches = array();
            foreach ($extraStyle_array as $style) {
                // extract href part from each line
                if (preg_match('/.+href="([^"]+)".+/', $style, $matches) > 0 && !empty($matches[1])) {
                    if (substr($css_scripts, -2) == 'f=') {
                        $css_scripts .= $matches[1];
                    } else {
                        $css_scripts .= ',' . $matches[1];
                    }
                }
            }
            return "<link rel=\"stylesheet\" href=\"" . $css_scripts . "\" type=\"text/css\"/>";
        }
        $cleanStyle_array = array();
        foreach ($extraStyle_array as $style) {
            if (in_array($style . "type=\"text/css\">", $cleanStyle_array) == FALSE and strlen($style) != 0) {
                $cleanStyle_array[] = $style . "type=\"text/css\">";
            }
        }
        $lang = I18n::getCurrentLangCode();
        $localization_css_file = OPENBIZ_APP_PATH . DIRECTORY_SEPARATOR 
                . "languages" . DIRECTORY_SEPARATOR 
                . $lang . DIRECTORY_SEPARATOR . "localization.css";
        if (is_file($localization_css_file)) {
            $cleanStyle_array[] = "<link rel=\"stylesheet\" href=\"" . OPENBIZ_APP_URL . "/languages/$lang/localization.css\" type=\"text/css\">";
        }
        return implode("\n", $cleanStyle_array);
    }
public function getAppendedStyles($comb = 0)
    {
        $extraStyles = implode("", $this->_extraStyles);
        $extraStyle_array = explode("type=\"text/css\">", $extraStyles);
        if (defined("OPENBIZ_RESOURCE_PHP") && $comb) {
            $css_scripts = OPENBIZ_RESOURCE_PHP . "?f=";
            $matches = array();
            foreach ($extraStyle_array as $style) {
                // extract href part from each line
                if (preg_match('/.+href="([^"]+)".+/', $style, $matches) > 0 && !empty($matches[1])) {
                    if (substr($css_scripts, -2) == 'f=') {
                        $css_scripts .= $matches[1];
                    } else {
                        $css_scripts .= ',' . $matches[1];
                    }
                }
            }
            return "<link rel=\"stylesheet\" href=\"" . $css_scripts . "\" type=\"text/css\"/>";
        }
        $cleanStyle_array = array();
        foreach ($extraStyle_array as $style) {
            if (in_array($style . "type=\"text/css\">", $cleanStyle_array) == FALSE and strlen($style) != 0) {
                $cleanStyle_array[] = $style . "type=\"text/css\">";
            }
        }
        $lang = I18n::getCurrentLangCode();
        $localization_css_file = OPENBIZ_APP_PATH . DIRECTORY_SEPARATOR 
                . "languages" . DIRECTORY_SEPARATOR 
                . $lang . DIRECTORY_SEPARATOR . "localization.css";
        if (is_file($localization_css_file)) {
            $cleanStyle_array[] = "<link rel=\"stylesheet\" href=\"" . OPENBIZ_APP_URL . "/languages/$lang/localization.css\" type=\"text/css\">";
        }
        return implode("\n", $cleanStyle_array);
    }
Get appended styles

@return string