original_string: private function getWebpropertiesHtml(&$webproperties) {
      $html = '<h3>Webproperties Collection</h3>' .
              $this->getCollectionInfoHtml($webproperties);
  
      $items = $webproperties->getItems();
  
      if (count($items) == 0) {
        $html .= '<p>No Web Properties Found</p>';
  
      } else {
        foreach ($items as &$webproperty) {
          $html .= <<<HTML
  <hr>
  <pre>
  Kind                    = {$webproperty->getKind()}
  Account ID              = {$webproperty->getAccountId()}
  Webproperty ID          = {$webproperty->getId()}
  Internal Webproperty ID = {$webproperty->getInternalWebPropertyId()}
  Website URL             = {$webproperty->getWebsiteUrl()}
  Created                 = {$webproperty->getCreated()}
  Updated                 = {$webproperty->getUpdated()}
  Self Link               = {$webproperty->getSelfLink()}
  Parent Link
  Parent link href        = {$webproperty->getParentLink()->getHref()}
  Parent link type        = {$webproperty->getParentLink()->getType()}
  Child Link
  Child link href         = {$webproperty->getChildLink()->getHref()}
  Child link type         = {$webproperty->getChildLink()->getType()}
  </pre>
  HTML;
        }
      }
      return $html;
    }
code: private function getWebpropertiesHtml(&$webproperties) {
      $html = '<h3>Webproperties Collection</h3>' .
              $this->getCollectionInfoHtml($webproperties);
  
      $items = $webproperties->getItems();
  
      if (count($items) == 0) {
        $html .= '<p>No Web Properties Found</p>';
  
      } else {
        foreach ($items as &$webproperty) {
          $html .= <<<HTML
  <hr>
  <pre>
  Kind                    = {$webproperty->getKind()}
  Account ID              = {$webproperty->getAccountId()}
  Webproperty ID          = {$webproperty->getId()}
  Internal Webproperty ID = {$webproperty->getInternalWebPropertyId()}
  Website URL             = {$webproperty->getWebsiteUrl()}
  Created                 = {$webproperty->getCreated()}
  Updated                 = {$webproperty->getUpdated()}
  Self Link               = {$webproperty->getSelfLink()}
  Parent Link
  Parent link href        = {$webproperty->getParentLink()->getHref()}
  Parent link type        = {$webproperty->getParentLink()->getType()}
  Child Link
  Child link href         = {$webproperty->getChildLink()->getHref()}
  Child link type         = {$webproperty->getChildLink()->getType()}
  </pre>
  HTML;
        }
      }
      return $html;
    }
code_tokens: private function getWebpropertiesHtml ( & $ webproperties ) { $ html = '<h3>Webproperties Collection</h3>' . $ this -> getCollectionInfoHtml ( $ webproperties ) ; $ items = $ webproperties -> getItems ( ) ; if ( count ( $ items ) == 0 ) { $ html .= '<p>No Web Properties Found</p>' ; } else { foreach ( $ items as & $ webproperty ) { $ html .=  <<<HTML
  <hr>
  <pre>
  Kind                    = {$webproperty->getKind()}
  Account ID              = {$webproperty->getAccountId()}
  Webproperty ID          = {$webproperty->getId()}
  Internal Webproperty ID = {$webproperty->getInternalWebPropertyId()}
  Website URL             = {$webproperty->getWebsiteUrl()}
  Created                 = {$webproperty->getCreated()}
  Updated                 = {$webproperty->getUpdated()}
  Self Link               = {$webproperty->getSelfLink()}
  Parent Link
  Parent link href        = {$webproperty->getParentLink()->getHref()}
  Parent link type        = {$webproperty->getParentLink()->getType()}
  Child Link
  Child link href         = {$webproperty->getChildLink()->getHref()}
  Child link type         = {$webproperty->getChildLink()->getType()}
  </pre>
  HTML ; } } return $ html ; }
docstring: Returns important information from the webproperties collection.
  @param Google_Webproperties $webproperties The result from the API.
  @return string An HTML representation.
docstring_tokens: Returns important information from the webproperties collection .