/** * Set AutoDisplay value * * @param bool $bValue */ public static function SetAutoDisplay($bValue) { self::$bAutoDisplay = (bool) $bValue; }