src/Controller/PageHistoricController.php
public function renderPageHistoricContentFiltersActionsAction()
    {
        $melisPageHistoricTable = $this->getServiceLocator()->get('MelisPagehistoricTable');
        //get distinct actions on database
        $actions = $melisPageHistoricTable->getPageHistoricListOfActions()->toArray();
        $translator = $this->getServiceLocator()->get('translator');

        $options = '<option value="">' . $translator->translate('tr_melispagehistoric_filter_action_select') . '</option>';
        foreach ($actions as $action) {
            $options .= '<option value="' . $action['action'] . '">' . $action['action'] . '</option>';
        }

        $view = new ViewModel();
        $view->options = $options;

        return $view;
    }
public function renderPageHistoricContentFiltersActionsAction()
    {
        $melisPageHistoricTable = $this->getServiceLocator()->get('MelisPagehistoricTable');
        //get distinct actions on database
        $actions = $melisPageHistoricTable->getPageHistoricListOfActions()->toArray();
        $translator = $this->getServiceLocator()->get('translator');

        $options = '<option value="">' . $translator->translate('tr_melispagehistoric_filter_action_select') . '</option>';
        foreach ($actions as $action) {
            $options .= '<option value="' . $action['action'] . '">' . $action['action'] . '</option>';
        }

        $view = new ViewModel();
        $view->options = $options;

        return $view;
    }
Renders the actions filter
@return ViewModel