mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-06-26 22:49:33 +02:00
9c3feb4ab4
At current certain interfaces exist that assume only local assets will be loaded (e.g. `SilverStripe\Forms\HTMLEditor\TinyMCEConfig::getConfig()`), where as someone may wish to load an off site resource via the use of an absolute URL (e.g. for fontawesome css provided via a CDN). Because asset path parsing is filtered through a `SilverStripe\Core\Manifest\ResourceURLGenerator`, one must either know in advance if they want an internal or external resource (loading different generators), or the API must allow for this (i.e. an inclusion function for each type of asset). So we can either double the API on the implementing class, or simply make an exception for an absolute URL as high as possible; inside the filter - for which the `vendor/module : path/to/file.asset` shorthand syntax was specifically designed not to conflict with. |
||
---|---|---|
.. | ||
Middleware | ||
RSS | ||
CliController.php | ||
CLIRequestBuilder.php | ||
ContentNegotiator.php | ||
Controller.php | ||
Cookie_Backend.php | ||
Cookie.php | ||
CookieJar.php | ||
Director.php | ||
HasRequestHandler.php | ||
HTTP.php | ||
HTTPApplication.php | ||
HTTPRequest.php | ||
HTTPRequestBuilder.php | ||
HTTPResponse_Exception.php | ||
HTTPResponse.php | ||
HTTPStreamResponse.php | ||
IPUtils.php | ||
NestedController.php | ||
NullHTTPRequest.php | ||
PjaxResponseNegotiator.php | ||
RequestFilter.php | ||
RequestHandler.php | ||
RequestProcessor.php | ||
Session.php | ||
SimpleResourceURLGenerator.php |