CodeIgniter v4.5 API

ViewDecoratorInterface

View Decorators are simple classes that are given the chance to modify the output from the view() calls prior to it being cached.

Table of Contents

Methods

decorate()  : string
Takes $html and has a chance to alter it.

Methods

decorate()

Takes $html and has a chance to alter it.

public static decorate(string $html) : string

MUST return the modified HTML.

Parameters
$html : string
Return values
string

        
On this page

Search results