/** * Sets the XHTML generation flag. * * @param bool $boolean true if widgets must be generated as XHTML, false otherwise */ public static function setXhtml($boolean) { self::$xhtml = (bool) $boolean; }