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_
54 * | _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.
60 * | _out_ `rootUrl` | Root url of all media as derived from the configuration value _uploadDir_ in the configuration section _media_
61 * | _out_ `rootPath` | Root path of all media as derived from the configuration value _uploadDir_ in the configuration section _media_
85 $relRootPath = URIUtil::makeRelative($rootPath, dirname($fileUtil->realpath($_SERVER['SCRIPT_FILENAME'])));
150 $targetFile = $pathParts['dirname'].'/'.$pathParts['filename'].'_'.$cropInfo.'.'.$pathParts['extension'];
Controller is the base class of all controllers.
Definition: Controller.php:48
onFileMoved($cmd, $result, $args, $elfinder)
Called when file is moved.
Definition: MediaController.php:172
static makeRelative($abs_uri, $base)
Convert an absolute URI to a relative code from http://www.webmasterworld.com/forum88/334.htm.
Definition: URIUtil.php:26
MediaController integrates elFinder (https://github.com/Studio-42/elFinder) into wCMF.
Definition: MediaController.php:72
GraphicsUtil provides support for graphic manipulation.
Definition: GraphicsUtil.php:34
FileUtil provides basic support for file functionality like HTTP file upload.
Definition: FileUtil.php:22
static makeAbsolute($rel_uri, $base)
Convert a relative URI to an absolute code from http://99webtools.com/relative-path-into-absolute-url...
Definition: URIUtil.php:63