original_string: protected static function getFor($idsite, $field)
      {
          if (!isset(self::$infoSites[$idsite])) {
              $site = API::getInstance()->getSiteFromId($idsite);
              self::setSiteFromArray($idsite, $site);
          }
  
          return self::$infoSites[$idsite][$field];
      }
code: protected static function getFor($idsite, $field)
      {
          if (!isset(self::$infoSites[$idsite])) {
              $site = API::getInstance()->getSiteFromId($idsite);
              self::setSiteFromArray($idsite, $site);
          }
  
          return self::$infoSites[$idsite][$field];
      }
code_tokens: protected static function getFor ( $ idsite , $ field ) { if ( ! isset ( self :: $ infoSites [ $ idsite ] ) ) { $ site = API :: getInstance ( ) -> getSiteFromId ( $ idsite ) ; self :: setSiteFromArray ( $ idsite , $ site ) ; } return self :: $ infoSites [ $ idsite ] [ $ field ] ; }
docstring: Utility function. Returns the value of the specified field for the
  site with the specified ID.
  
  @param int $idsite The ID of the site whose data is being accessed.
  @param string $field The name of the field to get.
  @return string
docstring_tokens: Utility function . Returns the value of the specified field for the site with the specified ID .