$adminConfig
$adminConfig : \Charcoal\Admin\Config
Store a reference to the admin configuration.
Action: Setup elFinder Connector
$adminConfig : \Charcoal\Admin\Config
Store a reference to the admin configuration.
init(\Psr\Http\Message\RequestInterface $request) : boolean
Template's init method is called automatically from `charcoal-app`'s Template Route.
For admin templates, initializations is:
$_GET
\Psr\Http\Message\RequestInterface | $request | The request to initialize. |
addFeedback(string $level, mixed $message) : \Charcoal\Admin\Ui\FeedbackContainerTrait
Add feedback.
string | $level | The feedback level. |
mixed | $message | The feedback message. |
Chainable
clearFeedback() : \Charcoal\Admin\Ui\FeedbackContainerTrait
Remove all feedback from collection.
Chainable
run(\Psr\Http\Message\RequestInterface $request, \Psr\Http\Message\ResponseInterface $response) : \Psr\Http\Message\ResponseInterface
\Psr\Http\Message\RequestInterface | $request | A PSR-7 compatible Request instance. |
\Psr\Http\Message\ResponseInterface | $response | A PSR-7 compatible Response instance. |
connectorOptions(array|null $extraOptions = array()) : array
Retrieve the default elFinder Connector options.
array|null | $extraOptions | Additional settings to pass to elFinder. |
** File not found : https://gist.github.com/mcaskill/5944478b1894a5bf1349bfa699387cd4 **
defaultConnectorOptions() : array
Retrieve the default elFinder Connector options from the configured flysystem filesystems.
** File not found : https://gist.github.com/mcaskill/5944478b1894a5bf1349bfa699387cd4 **
sanitizeOnUploadPreSave(string $path, string $name, string $src, object $elfinder, object $volume) : true
Trim a file name.
string | $path | The target path. |
string | $name | The target name. |
string | $src | The temporary file name. |
object | $elfinder | The elFinder instance. |
object | $volume | The current volume instance. |
setModelFactory(\Charcoal\Factory\FactoryInterface $factory) : \Charcoal\Admin\AdminScript
\Charcoal\Factory\FactoryInterface | $factory | The factory used to create models. |
Chainable
setSiteName(string $name) : \Charcoal\Admin\AdminAction
Set the name of the project.
string | $name | Name of the project. |
Chainable