original_string: public static function get_search_area($areaid) {
  
          // We have them all here.
          if (!empty(static::$allsearchareas[$areaid])) {
              return static::$allsearchareas[$areaid];
          }
  
          $classname = static::get_area_classname($areaid);
  
          if (class_exists($classname) && static::is_search_area($classname)) {
              return new $classname();
          }
  
          return false;
      }
code: public static function get_search_area($areaid) {
  
          // We have them all here.
          if (!empty(static::$allsearchareas[$areaid])) {
              return static::$allsearchareas[$areaid];
          }
  
          $classname = static::get_area_classname($areaid);
  
          if (class_exists($classname) && static::is_search_area($classname)) {
              return new $classname();
          }
  
          return false;
      }
code_tokens: public static function get_search_area ( $ areaid ) { // We have them all here. if ( ! empty ( static :: $ allsearchareas [ $ areaid ] ) ) { return static :: $ allsearchareas [ $ areaid ] ; } $ classname = static :: get_area_classname ( $ areaid ) ; if ( class_exists ( $ classname ) && static :: is_search_area ( $ classname ) ) { return new $ classname ( ) ; } return false ; }
docstring: Returns a new area search indexer instance.
  
  @param string $areaid
  @return \core_search\base|bool False if the area is not available.
docstring_tokens: Returns a new area search indexer instance .