function bueditor_exec_editor_code in BUEditor 6.2
Same name and namespace in other branches
- 7 admin/bueditor.admin.inc \bueditor_exec_editor_code()
Execute the given code to get editor data.
3 calls to bueditor_exec_editor_code()
- bueditor_button_import_submit in admin/
bueditor.admin.inc - Button import form submission.
- bueditor_editor_import_validate in admin/
bueditor.admin.inc - Editor import form validation.
- bueditor_import_by_name in admin/
bueditor.admin.inc - Import an editor from 'bueditor/import' directory.
File
- admin/
bueditor.admin.inc, line 798
Code
function bueditor_exec_editor_code($code) {
$editor = eval('return ' . $code . ';');
if (is_array($editor)) {
return (object) $editor;
}
return FALSE;
}