frames.php
protected function tagUrlsWithFrame($urls, $frame)
    {
        $tagged = array();
        foreach ($urls as $url) {
            if (! $url->getTarget()) {
                $url->setTarget($this->getPublicNameFromIndex($frame));
            }
            $tagged[] = $url;
        }

        return $tagged;
    }
protected function tagUrlsWithFrame($urls, $frame)
    {
        $tagged = array();
        foreach ($urls as $url) {
            if (! $url->getTarget()) {
                $url->setTarget($this->getPublicNameFromIndex($frame));
            }
            $tagged[] = $url;
        }

        return $tagged;
    }
protected function tagUrlsWithFrame ( $ urls , $ frame ) { $ tagged = array ( ) ; foreach ( $ urls as $ url ) { if ( ! $ url -> getTarget ( ) ) { $ url -> setTarget ( $ this -> getPublicNameFromIndex ( $ frame ) ) ; } $ tagged [ ] = $ url ; } return $ tagged ; }
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.
Attaches the intended frame index to a list of URLs .