\Ceo\View\FiltersExtract

Extract is a dropin replacement for Gryphon's extract filter, using the new paragraph extraction functionality.

{{ article.copy|extract(limit) }}
{{ article.copy|extract(limit, offset) }}

Summary

Methods
Properties
Constants
__construct()
getFilterOptions()
getDI()
getFilterName()
handle()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() 

getFilterOptions()

getFilterOptions() : array

Allows this filter to return unescaped HTML

Returns

array

getDI()

getDI() : object

Return default dependency injector

Returns

object —

Phalcon\Di

getFilterName()

getFilterName() : string

Return the filter name

Returns

string

handle()

handle(  $text,   $length = null,   $offset = null) : string

Handle filter response

Parameters

$text
$length
$offset

Returns

string