PHP Класс TinymceHelper

---------> http://tinymce.moxiecode.com/wiki.php/Configuration <------------
Наследование: extends AppHelper
Показать файл Открыть проект

Защищенные методы

Метод Описание
_build ( string $fieldName, array $options = [] ) : string Initializes the Wysiwyg Helper JS/CSS and generates helper javascript

Описание методов

_build() защищенный Метод

### Options See each field type method for more information. Any options that are part of $attributes or $options for the different **type** methods can be included in $options for input().i Additionally, any unknown keys that are not in the list below, or part of the selected type's options will be treated as a regular html attribute for the generated input. - _buffer - A boolean for whether we should buffer input transformation js - _scripts - An array of scripts to buffer - _css - An array of css files to buffer - _cssText - A text string containing relevant css See http://www.tinymce.com/ for more options.
protected _build ( string $fieldName, array $options = [] ) : string
$fieldName string This should be "Modelname.fieldname"
$options array Each type of wysiwyg helper takes different options.
Результат string JavaScript code to initialise the Wysiwyg area