public function getBackOfficeUsersAction()
    {
        $melisPageHistoricTable = $this->getServiceLocator()->get('MelisPageHistoricTable');
        $users = $melisPageHistoricTable->getUsers()->toArray();

        return new JsonModel(array(
            'users' => $users,
        ));
    }
public function getBackOfficeUsersAction()
    {
        $melisPageHistoricTable = $this->getServiceLocator()->get('MelisPageHistoricTable');
        $users = $melisPageHistoricTable->getUsers()->toArray();

        return new JsonModel(array(
            'users' => $users,
        ));
    }
public function getBackOfficeUsersAction ( ) { $ melisPageHistoricTable = $ this -> getServiceLocator ( ) -> get ( 'MelisPageHistoricTable' ) ; $ users = $ melisPageHistoricTable -> getUsers ( ) -> toArray ( ) ; return new JsonModel ( array ( 'users' => $ users , ) ) ; }
Gets all back office users that has a record in database
@return JsonModel
Gets all back office users that has a record in database