code: protected function tagUrlsWithFrame($urls, $frame)
      {
          $tagged = array();
          foreach ($urls as $url) {
              if (! $url->getTarget()) {
                  $url->setTarget($this->getPublicNameFromIndex($frame));
              }
              $tagged[] = $url;
          }
  
          return $tagged;
      }
docs: Attaches the intended frame index to a list of URLs.
  
  @param array $urls        List of SimpleUrls.
  @param string $frame      Name of frame or index.
  
  @return array             List of tagged URLs.