src/Kunstmaan/LeadGenerationBundle/Service/PopupManager.php
public function getUniqueJsIncludes()
    {
        $includes = array();
        foreach ($this->getPopups() as $popup) {
            foreach ($popup->getRules() as $rule) {
                $includes[] = $rule->getJsFilePath();
            }
        }

        return array_unique($includes);
    }
public function getUniqueJsIncludes()
    {
        $includes = array();
        foreach ($this->getPopups() as $popup) {
            foreach ($popup->getRules() as $rule) {
                $includes[] = $rule->getJsFilePath();
            }
        }

        return array_unique($includes);
    }
public function getUniqueJsIncludes ( ) { $ includes = array ( ) ; foreach ( $ this -> getPopups ( ) as $ popup ) { foreach ( $ popup -> getRules ( ) as $ rule ) { $ includes [ ] = $ rule -> getJsFilePath ( ) ; } } return array_unique ( $ includes ) ; }
Get a list of unique javascript files that should be included in the html.

@return array
Get a list of unique javascript files that should be included in the html .