public static function inSection($Section) { $Section = (array) $Section; foreach ($Section as $Name) { if (isset(self::$_Section[$Name])) { return true; } } return false; }
/** * Returns whether or not the page is in one of the given section(s). * * @param string|array $Section * @return bool * @since 2.1 */ function inSection($Section) { return Gdn_Theme::inSection($Section); }