protected function getModuleOptions()
    {
        $entitys = $this->moduleService->getAll(array(
            'pagination' => 'off'
        ));
        
        $options = array();
        
        foreach ($entitys as $entity) {
            $options[$entity->getModuleId()] = $entity->getModuleName();
        }
        
        return $options;
    }
protected function getModuleOptions()
    {
        $entitys = $this->moduleService->getAll(array(
            'pagination' => 'off'
        ));
        
        $options = array();
        
        foreach ($entitys as $entity) {
            $options[$entity->getModuleId()] = $entity->getModuleName();
        }
        
        return $options;
    }
protected function getModuleOptions ( ) { $ entitys = $ this -> moduleService -> getAll ( array ( 'pagination' => 'off' ) ) ; $ options = array ( ) ; foreach ( $ entitys as $ entity ) { $ options [ $ entity -> getModuleId ( ) ] = $ entity -> getModuleName ( ) ; } return $ options ; }
gets module options for select

@return NULL[]
gets module options for select