MediaController.php
39 * | _in_ / _out_ `fieldName` | The name of the input field that should receive the url of the selected file. if not given, elFinder will search for a CkEditor instance and set the url on that.
40 * | _out_ `rootUrl` | Root url of all media as derived from the configuration value _uploadDir_ in the configuration section _media_
41 * | _out_ `rootPath` | Root path of all media as derived from the configuration value _uploadDir_ in the configuration section _media_
64 $relRootPath = URIUtil::makeRelative($rootPath, dirname($fileUtil->realpath($_SERVER['SCRIPT_FILENAME'])));
static makeAbsolute($relUri, $base)
Convert a relative URI to an absolute code from http://99webtools.com/relative-path-into-absolute-url...
Definition: URIUtil.php:66
access($attr, $path, $data, $volume, $isDir, $relpath)
Access control.
Definition: MediaController.php:177
MediaController integrates elFinder (https://github.com/Studio-42/elFinder) into wCMF.
Definition: MediaController.php:51
ConfigurationException signals an exception in the configuration.
Definition: ConfigurationException.php:18
doExecute($method=null)
Definition: MediaController.php:56
FileUtil provides basic support for file functionality like HTTP file upload.
Definition: FileUtil.php:22
Controller is the base class of all controllers.
Definition: Controller.php:49
onFileMoved($cmd, $result, $args, $elfinder)
Called when file is moved.
Definition: MediaController.php:156
static makeRelative($absUri, $base)
Convert an absolute URI to a relative code from http://www.webmasterworld.com/forum88/334....
Definition: URIUtil.php:27