src/Kunstmaan/AdminBundle/Helper/AdminPanel/AdminPanel.php
public function getAdminPanelActions()
    {
        if (!$this->actions) {
            $this->actions = array();
            $adaptors = $this->getAdaptors();
            foreach ($adaptors as $adaptor) {
                $this->actions = array_merge($this->actions, $adaptor->getAdminPanelActions());
            }
        }

        return $this->actions;
    }
public function getAdminPanelActions()
    {
        if (!$this->actions) {
            $this->actions = array();
            $adaptors = $this->getAdaptors();
            foreach ($adaptors as $adaptor) {
                $this->actions = array_merge($this->actions, $adaptor->getAdminPanelActions());
            }
        }

        return $this->actions;
    }
public function getAdminPanelActions ( ) { if ( ! $ this -> actions ) { $ this -> actions = array ( ) ; $ adaptors = $ this -> getAdaptors ( ) ; foreach ( $ adaptors as $ adaptor ) { $ this -> actions = array_merge ( $ this -> actions , $ adaptor -> getAdminPanelActions ( ) ) ; } } return $ this -> actions ; }
Return current admin panel actions
Return current admin panel actions