library/core/class.theme.php
public static function InSection($Section) {
      $Section = (array)$Section;
      foreach ($Section as $Name) {
         if (isset(self::$_Section[$Name]))
            return TRUE;
      }
      return FALSE;
   }
public static function InSection($Section) {
      $Section = (array)$Section;
      foreach ($Section as $Name) {
         if (isset(self::$_Section[$Name]))
            return TRUE;
      }
      return FALSE;
   }
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 the current section.
@param string|array $Section
Returns whether or not the page is in the current section .