Elgg
Version 2.3
|
Go to the source code of this file.
Namespaces | |
Elgg | |
Save menu items. | |
Variables | |
$vars ['class'] = elgg_extract_class($vars, 'elgg-input-longtext') | |
$defaults | |
$editor_opts = (array) elgg_extract('editor_options', $vars, []) | |
$editor_opts ['disabled'] = !elgg_extract('editor', $vars, true) | |
$editor_opts ['state'] = elgg_extract('visual', $vars, true) ? 'visual' : 'html' | |
$vars ['data-editor-opts'] = json_encode($editor_opts) | |
$value = htmlspecialchars($vars['value'], ENT_QUOTES, 'UTF-8') | |
Definition at line 23 of file longtext.php.
$editor_opts = (array) elgg_extract('editor_options', $vars, []) |
Definition at line 32 of file longtext.php.
$editor_opts['disabled'] = !elgg_extract('editor', $vars, true) |
Definition at line 33 of file longtext.php.
$editor_opts['state'] = elgg_extract('visual', $vars, true) ? 'visual' : 'html' |
Definition at line 34 of file longtext.php.
$value = htmlspecialchars($vars['value'], ENT_QUOTES, 'UTF-8') |
Definition at line 42 of file longtext.php.
$vars = elgg_extract_class($vars, 'elgg-input-longtext') |
Definition at line 21 of file longtext.php.
$vars['data-editor-opts'] = json_encode($editor_opts) |
Definition at line 40 of file longtext.php.