Method |
Description |
|
__construct ( Silex\Application $app ) |
|
|
decorateTT ( string $str ) : string |
Transforms plain text to HTML |
|
editable ( string $html, Content $content, string $field, boolean $safe ) : string |
Makes a piece of HTML editable. |
|
htmlLang ( ) : string |
Returns the language value for in tags where the language attribute is
required. The underscore '_' in the locale will be replaced with a
hyphen '-'. |
|
isMobileClient ( ) : boolean |
Check if the page is viewed on a mobile device. |
|
link ( string $location, string $label = '[link]' ) : string |
Create an HTML link to a given URL or contenttype/slug pair. |
|
markdown ( string $content ) : string |
Formats the given string as Markdown in HTML. |
|
menu ( Twig_Environment $env, string $identifier = '', string $template = '_sub_menu.twig', array $params = [], boolean $safe ) : string | null |
Output a menu. |
|
shy ( string $str ) : string |
Add 'soft hyphens' to a string, so that it won't break layout in HTML when
using strings without spaces or dashes. |
|
twig ( $snippet, array $extravars = [] ) : string |
Formats the given string as Twig in HTML. |
|