MediaRewriteMiddleware
class MediaRewriteMiddleware extends BaseViewMiddleware
Scans content as it is being processed and automatically rewrites older Gryphon-style media URLs and turns them into CEO-style media URLs assuming that it can find the media file.
Requires that enableCompatibility and enableMediaRewrite are both enabled in the ceo-site.php config file.
Methods
string
injectMessage(string $content, string $message, boolean $newLine = true)
Inject message output HTML. Will keep all messages contained to the same container. Can be styled via #__ceo-debug-message ID.
from BaseViewMiddleware
handle($event, $view)
No description
Details
in BaseViewMiddleware at line 14
register()
in BaseViewMiddleware at line 25
afterRender(Event $event, $view)
in BaseViewMiddleware at line 38
string
injectMessage(string $content, string $message, boolean $newLine = true)
Inject message output HTML. Will keep all messages contained to the same container. Can be styled via #__ceo-debug-message ID.