PHP Class TinymceHelper

---------> http://tinymce.moxiecode.com/wiki.php/Configuration <------------
Inheritance: extends AppHelper
Afficher le fichier Open project: josegonzalez/cakephp-wysiwyg

Méthodes protégées

Méthode Description
_build ( string $fieldName, array $options = [] ) : string Initializes the Wysiwyg Helper JS/CSS and generates helper javascript

Method Details

_build() protected méthode

### 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.
Résultat string JavaScript code to initialise the Wysiwyg area