Mecha CMS

Output buffer.

Shield::reset()

Force to disable view output by ID.

2.0.02.2.0static
Shield::reset(void);
Shield::reset(string $id);
Shield::reset(array $id);

Example:

Shield::set('foo.bar', '.\lot\asset\php\view.php'); // [^1]
Shield::get('foo.bar'); // [^2]
Shield::reset('foo.bar'); // [^3]
Shield::get('foo.bar'); // [^4]

// [^1]: Set!
// [^2]: Return the output buffer of `.\lot\asset\php\view.php` file.
// [^3]: Reset!
// [^4]: Return nothing.