function bueditor_get_library in BUEditor 7
Same name and namespace in other branches
- 6.2 bueditor.inc \bueditor_get_library()
Get an array of js and css files defined in editor library.
2 calls to bueditor_get_library()
- bueditor_add_library in ./
bueditor.inc - Include js and css files from library.
- bueditor_varexport_editor in admin/
bueditor.admin.inc - Generate an importable editor string including icon and library files.
File
- ./
bueditor.inc, line 177 - Implements commonly used functions for bueditor.
Code
function bueditor_get_library($library) {
$files = array();
foreach (preg_split("/\\s+/", $library) as $path) {
if ($path && ($trpath = bueditor_path_tr($path))) {
$files[$path] = $trpath;
}
}
return $files;
}