Mecha CMS

Lot::status()

Set or get response status code.

2.2.0 Static

Lot::status(void);
Lot::status(int $value);

Example:

// Set
Lot::status(404);

// Get
echo Lot::status();