original_string: private function getAccountsHtml(&$accounts) {
      $html = '<h3>Accounts Collection</h3>' .
              $this->getCollectionInfoHtml($accounts);
  
      $items = $accounts->getItems();
  
      if (count($items) == 0) {
        $html .= '<p>No Accounts Found</p>';
  
      } else {
        foreach($items as &$account) {
          $html .= <<<HTML
  <hr>
  <pre>
  Account ID   = {$account->getId()}
  Kind         = {$account->getKind()}
  Self Link    = {$account->getSelfLink()}
  Account Name = {$account->getName()}
  Created      = {$account->getCreated()}
  Updated      = {$account->getUpdated()}
  </pre>
  HTML;
        }
      }
      return $html;
    }
code: private function getAccountsHtml(&$accounts) {
      $html = '<h3>Accounts Collection</h3>' .
              $this->getCollectionInfoHtml($accounts);
  
      $items = $accounts->getItems();
  
      if (count($items) == 0) {
        $html .= '<p>No Accounts Found</p>';
  
      } else {
        foreach($items as &$account) {
          $html .= <<<HTML
  <hr>
  <pre>
  Account ID   = {$account->getId()}
  Kind         = {$account->getKind()}
  Self Link    = {$account->getSelfLink()}
  Account Name = {$account->getName()}
  Created      = {$account->getCreated()}
  Updated      = {$account->getUpdated()}
  </pre>
  HTML;
        }
      }
      return $html;
    }
code_tokens: private function getAccountsHtml ( & $ accounts ) { $ html = '<h3>Accounts Collection</h3>' . $ this -> getCollectionInfoHtml ( $ accounts ) ; $ items = $ accounts -> getItems ( ) ; if ( count ( $ items ) == 0 ) { $ html .= '<p>No Accounts Found</p>' ; } else { foreach ( $ items as & $ account ) { $ html .=  <<<HTML
  <hr>
  <pre>
  Account ID   = {$account->getId()}
  Kind         = {$account->getKind()}
  Self Link    = {$account->getSelfLink()}
  Account Name = {$account->getName()}
  Created      = {$account->getCreated()}
  Updated      = {$account->getUpdated()}
  </pre>
  HTML ; } } return $ html ; }
docstring: Returns important information from the accounts collection.
  @param Accounts $accounts The result from the API.
  @return string An HTML representation.
docstring_tokens: Returns important information from the accounts collection .