original_string: public static function get_by_id($tagareaid) {
          $tagareas = self::get_areas();
          foreach ($tagareas as $itemtype => $it) {
              foreach ($it as $component => $v) {
                  if ($v->id == $tagareaid) {
                      return $v;
                  }
              }
          }
          return null;
      }
code: public static function get_by_id($tagareaid) {
          $tagareas = self::get_areas();
          foreach ($tagareas as $itemtype => $it) {
              foreach ($it as $component => $v) {
                  if ($v->id == $tagareaid) {
                      return $v;
                  }
              }
          }
          return null;
      }
code_tokens: public static function get_by_id ( $ tagareaid ) { $ tagareas = self :: get_areas ( ) ; foreach ( $ tagareas as $ itemtype => $ it ) { foreach ( $ it as $ component => $ v ) { if ( $ v -> id == $ tagareaid ) { return $ v ; } } } return null ; }
docstring: Retrieves info about one tag area
  
  @param int $tagareaid
  @return stdClass
docstring_tokens: Retrieves info about one tag area