Version: current

# Class SSViewer_PartialParser

Handle the parsing for cacheblock tags.

Needs to be handled differently from the other tags, because cacheblock can take any number of arguments

This shouldn't be used as an example of how to add functionality to SSViewer - the eventual plan is to re-write SSViewer using a proper parser (probably http://github.com/hafriedlander/php-peg), so that extra functionality can be added without relying on ad-hoc parsers like this.

### Direct known subclasses

`SSViewer_Cached_PartialParser`

Package: sapphire\view
Located at sapphire/core/SSViewer.php

## Methods summary

`public static` | # `process( mixed $template, mixed $content )`
`public` | # `__construct( mixed $template, mixed $content, mixed $offset )`
`public` | # `controlcheck( mixed $text )`
`public` | # `parse( )`
`public` | # `parseargs( mixed $string )`
`public` | # `generate( )`

### Magic methods summary

## Properties summary

`public static string` | $tag | #
`public static string` | $argument_splitter | #

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -