public function addStyles($cssfile, $min = FALSE) {
        //Check if we must minified the style
        $minTag = "<link href='min/?f=" . $this->asset($cssfile, TRUE) . "' rel='stylesheet' type='text/css'/>";
        $maxTag = "<link href='" . $this->asset($cssfile, TRUE) . "' rel='stylesheet' type='text/css'/>";

        //TODO: min styles
        $includeTag = $maxTag;


        $minPos = strpos($this->styles, $minTag);
        $maxPos = strpos($this->styles, $maxTag);

        //If it doesn't exist, we concat with the actual styles
        if ($minPos === FALSE && $maxPos === FALSE) {
            $value = $this->styles . $includeTag;
            $this->styles = $value;
        }
    }
public function addStyles($cssfile, $min = FALSE) {
        //Check if we must minified the style
        $minTag = "<link href='min/?f=" . $this->asset($cssfile, TRUE) . "' rel='stylesheet' type='text/css'/>";
        $maxTag = "<link href='" . $this->asset($cssfile, TRUE) . "' rel='stylesheet' type='text/css'/>";

        //TODO: min styles
        $includeTag = $maxTag;


        $minPos = strpos($this->styles, $minTag);
        $maxPos = strpos($this->styles, $maxTag);

        //If it doesn't exist, we concat with the actual styles
        if ($minPos === FALSE && $maxPos === FALSE) {
            $value = $this->styles . $includeTag;
            $this->styles = $value;
        }
    }
public function addStyles ( $ cssfile , $ min = FALSE ) { //Check if we must minified the style $ minTag = "<link href='min/?f=" . $ this -> asset ( $ cssfile , TRUE ) . "' rel='stylesheet' type='text/css'/>" ; $ maxTag = "<link href='" . $ this -> asset ( $ cssfile , TRUE ) . "' rel='stylesheet' type='text/css'/>" ; //TODO: min styles $ includeTag = $ maxTag ; $ minPos = strpos ( $ this -> styles , $ minTag ) ; $ maxPos = strpos ( $ this -> styles , $ maxTag ) ; //If it doesn't exist, we concat with the actual styles if ( $ minPos === FALSE && $ maxPos === FALSE ) { $ value = $ this -> styles . $ includeTag ; $ this -> styles = $ value ; } }
Add Style into the cue of style vars.

@param string $cssfile
@param bool $min
Add Style into the cue of style vars .