Swat/SwatYUI.php
private function buildHtmlHeadEntrySet(array $component_ids, $mode)
    {
        $set = new SwatHtmlHeadEntrySet();

        foreach ($component_ids as $component_id) {
            $set->addEntrySet(
                self::$components[$component_id]->getHtmlHeadEntrySet($mode)
            );
        }

        $set->addEntry($this->getAttributionHtmlHeadEntry());

        return $set;
    }
private function buildHtmlHeadEntrySet(array $component_ids, $mode)
    {
        $set = new SwatHtmlHeadEntrySet();

        foreach ($component_ids as $component_id) {
            $set->addEntrySet(
                self::$components[$component_id]->getHtmlHeadEntrySet($mode)
            );
        }

        $set->addEntry($this->getAttributionHtmlHeadEntry());

        return $set;
    }
private function buildHtmlHeadEntrySet ( array $ component_ids , $ mode ) { $ set = new SwatHtmlHeadEntrySet ( ) ; foreach ( $ component_ids as $ component_id ) { $ set -> addEntrySet ( self :: $ components [ $ component_id ] -> getHtmlHeadEntrySet ( $ mode ) ) ; } $ set -> addEntry ( $ this -> getAttributionHtmlHeadEntry ( ) ) ; return $ set ; }
Builds the HTML head entry set required for the YUI components of this
object

@param array $component_ids an array of YUI component ids to build
HTML head entries for.
@param string $mode the YUI component mode to use.

@return SwatHtmlHeadEntrySet the full constructed set of HTML head
entries.
Builds the HTML head entry set required for the YUI components of this object