public function revisionEntityAction()
    {
        $this->mapAllAuditedClasses();

        $page = (int)$this->getEvent()->getRouteMatch()->getParam('page');
        $revisionEntityId = (int) $this->getEvent()->getRouteMatch()->getParam('revisionEntityId');

        $revisionEntity = \SoliantEntityAudit\Module::getModuleOptions()->getEntityManager()
            ->getRepository('SoliantEntityAudit\\Entity\\RevisionEntity')->find($revisionEntityId);

        if (!$revisionEntity)
            return $this->plugin('redirect')->toRoute('audit');

        $repository = \SoliantEntityAudit\Module::getModuleOptions()->getEntityManager()
            ->getRepository('SoliantEntityAudit\\Entity\\RevisionEntity');

        return array(
            'page' => $page,
            'revisionEntity' => $revisionEntity,
            'auditService' => $this->getServiceLocator()->get('auditService'),
        );
    }
public function revisionEntityAction()
    {
        $this->mapAllAuditedClasses();

        $page = (int)$this->getEvent()->getRouteMatch()->getParam('page');
        $revisionEntityId = (int) $this->getEvent()->getRouteMatch()->getParam('revisionEntityId');

        $revisionEntity = \SoliantEntityAudit\Module::getModuleOptions()->getEntityManager()
            ->getRepository('SoliantEntityAudit\\Entity\\RevisionEntity')->find($revisionEntityId);

        if (!$revisionEntity)
            return $this->plugin('redirect')->toRoute('audit');

        $repository = \SoliantEntityAudit\Module::getModuleOptions()->getEntityManager()
            ->getRepository('SoliantEntityAudit\\Entity\\RevisionEntity');

        return array(
            'page' => $page,
            'revisionEntity' => $revisionEntity,
            'auditService' => $this->getServiceLocator()->get('auditService'),
        );
    }
public function revisionEntityAction ( ) { $ this -> mapAllAuditedClasses ( ) ; $ page = ( int ) $ this -> getEvent ( ) -> getRouteMatch ( ) -> getParam ( 'page' ) ; $ revisionEntityId = ( int ) $ this -> getEvent ( ) -> getRouteMatch ( ) -> getParam ( 'revisionEntityId' ) ; $ revisionEntity = \ SoliantEntityAudit \ Module :: getModuleOptions ( ) -> getEntityManager ( ) -> getRepository ( 'SoliantEntityAudit\\Entity\\RevisionEntity' ) -> find ( $ revisionEntityId ) ; if ( ! $ revisionEntity ) return $ this -> plugin ( 'redirect' ) -> toRoute ( 'audit' ) ; $ repository = \ SoliantEntityAudit \ Module :: getModuleOptions ( ) -> getEntityManager ( ) -> getRepository ( 'SoliantEntityAudit\\Entity\\RevisionEntity' ) ; return array ( 'page' => $ page , 'revisionEntity' => $ revisionEntity , 'auditService' => $ this -> getServiceLocator ( ) -> get ( 'auditService' ) , ) ; }
Show the detail for a specific revision entity
Show the detail for a specific revision entity