/** * Stops the mapped to module function's view from being rendered * @param bool $stop * @return bool */ public static function stopMappedRender($stop = null) { if ($stop != null) { self::$stoppedMappedRender = $stop; } else { return self::$stoppedMappedRender; } }