\HighlightedContentField
Synopsis
class HighlightedContentField
extends FormField
{
- // members
- protected $language;
- // methods
- public void __construct()
- public array getAttributes()
- public {string} Field()
- public {string} getBrushName()
- public void setLanguage()
- public {string} getLanguage()
- public {string} getHighlightCode()
- protected {string} theme_file()
- public void performReadonlyTransformation()
Hierarchy
Extends
- FormField
Members
protected
- $language
Methods
protected
- theme_file() — Detects the theme based on the current config
public
- __construct()
- Field() — Returns the form field - used by templates. Although FieldHolder is generally what is inserted into templates, all of the field holder templates make use of $Field. It's expected that FieldHolder will give you the "complete" representation of the field on the form, whereas Field will give you the core editing widget, such as an input tag.
- getAttributes()
- getBrushName() — Gets the brush name
- getHighlightCode() — Gets the highlight code used for syntax highlighter
- getLanguage() — Gets the language used for syntax highlighter
- performReadonlyTransformation() — Returns a readonly version of this field
- setLanguage() — sets the language used for syntax highlighter