Core/Template/Template.php
protected function _compile($content, $type = self::TPL_COMPILE_ALL) {
        switch ($type) {
            case self::TPL_COMPILE_ALL:
                return $this->_parser->parse($content);
                break;

            case self::TPL_COMPILE_INCLUDE:
                return $this->_parser->parseNoTemplate($content);
                break;

            case self::TPL_COMPILE_LANG:
                return $this->_parser->parseLang($content);
                break;
        }

        return '';
    }
protected function _compile($content, $type = self::TPL_COMPILE_ALL) {
        switch ($type) {
            case self::TPL_COMPILE_ALL:
                return $this->_parser->parse($content);
                break;

            case self::TPL_COMPILE_INCLUDE:
                return $this->_parser->parseNoTemplate($content);
                break;

            case self::TPL_COMPILE_LANG:
                return $this->_parser->parseLang($content);
                break;
        }

        return '';
    }
protected function _compile ( $ content , $ type = self :: TPL_COMPILE_ALL ) { switch ( $ type ) { case self :: TPL_COMPILE_ALL : return $ this -> _parser -> parse ( $ content ) ; break ; case self :: TPL_COMPILE_INCLUDE : return $ this -> _parser -> parseNoTemplate ( $ content ) ; break ; case self :: TPL_COMPILE_LANG : return $ this -> _parser -> parseLang ( $ content ) ; break ; } return '' ; }
compile the template instance
@param $content string
@param $type    int
@return mixed
@since 3.0
@package Gcs\Framework\Core\Template
compile the template instance