src/Kunstmaan/LeadGenerationBundle/Service/PopupManager.php
public function getPopups()
    {
        if (is_null($this->popups)) {
            $this->popups = $this->em->getRepository('KunstmaanLeadGenerationBundle:Popup\AbstractPopup')->findAll();
        }

        return $this->popups;
    }
public function getPopups()
    {
        if (is_null($this->popups)) {
            $this->popups = $this->em->getRepository('KunstmaanLeadGenerationBundle:Popup\AbstractPopup')->findAll();
        }

        return $this->popups;
    }
public function getPopups ( ) { if ( is_null ( $ this -> popups ) ) { $ this -> popups = $ this -> em -> getRepository ( 'KunstmaanLeadGenerationBundle:Popup\AbstractPopup' ) -> findAll ( ) ; } return $ this -> popups ; }
Get a list of popup definitions.

@return array
Get a list of popup definitions .