HtmlExcerpt extends AbstractPostProcessor
HtmlExcerpt class. This class processes HTML output to insert an excerpt marker
at the first occurrence of an HTML comment indicating an excerpt or break.
The marker is inserted as a <span id="more"></span>
element.
Table of Contents
Properties
Methods
- __construct() : mixed
- Gives the Builder to the object.
- process() : string
- Process output.
Properties
$builder
protected
Builder
$builder
$config
protected
Config
$config
Methods
__construct()
Gives the Builder to the object.
public
__construct(Builder $builder) : mixed
Parameters
- $builder : Builder
process()
Process output.
public
process(Page $page, string $output, string $format) : string
Parameters
- $page : Page
- $output : string
- $format : string