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 '';
    }