Swat/SwatWidget.php
public function getHtmlHeadEntrySet()
    {
        if ($this->isDisplayed()) {
            $set = new SwatHtmlHeadEntrySet($this->html_head_entry_set);
        } else {
            $set = new SwatHtmlHeadEntrySet();
        }

        foreach ($this->getCompositeWidgets() as $widget) {
            $set->addEntrySet($widget->getHtmlHeadEntrySet());
        }

        return $set;
    }
public function getHtmlHeadEntrySet()
    {
        if ($this->isDisplayed()) {
            $set = new SwatHtmlHeadEntrySet($this->html_head_entry_set);
        } else {
            $set = new SwatHtmlHeadEntrySet();
        }

        foreach ($this->getCompositeWidgets() as $widget) {
            $set->addEntrySet($widget->getHtmlHeadEntrySet());
        }

        return $set;
    }
public function getHtmlHeadEntrySet ( ) { if ( $ this -> isDisplayed ( ) ) { $ set = new SwatHtmlHeadEntrySet ( $ this -> html_head_entry_set ) ; } else { $ set = new SwatHtmlHeadEntrySet ( ) ; } foreach ( $ this -> getCompositeWidgets ( ) as $ widget ) { $ set -> addEntrySet ( $ widget -> getHtmlHeadEntrySet ( ) ) ; } return $ set ; }
Gets the SwatHtmlHeadEntry objects needed by this widget

If this widget has not been displayed, an empty set is returned to
reduce the number of required HTTP requests.

@return SwatHtmlHeadEntrySet the {@link SwatHtmlHeadEntry} objects
needed by this widget.
Gets the SwatHtmlHeadEntry objects needed by this widget