/** * Set/get legacy status of the current request * @param boolean $status * @return boolean */ public static function isLegacy($status = null) { if (null !== $status) { if ($status[0] === '{') { $status = e107::getParser()->replaceConstants($status); } self::$_legacy = $status; } return self::$_legacy; }