public function checkSysConfigAction()
    {
        $success = 0;
        $errors = [];

        if ($this->getRequest()->isXmlHttpRequest()) {
            $response = $this->systemConfigurationChecker();
            $success = $response['success'];
            $errors = $response['errors'];

            // add status to session
            $container = new Container('melisinstaller');
            $container['steps'][$this->steps[0]] = ['page' => 1, 'success' => $success];
        }

        return new JsonModel([
            'success' => $success,
            'errors' => $errors,
        ]);
    }
public function checkSysConfigAction()
    {
        $success = 0;
        $errors = [];

        if ($this->getRequest()->isXmlHttpRequest()) {
            $response = $this->systemConfigurationChecker();
            $success = $response['success'];
            $errors = $response['errors'];

            // add status to session
            $container = new Container('melisinstaller');
            $container['steps'][$this->steps[0]] = ['page' => 1, 'success' => $success];
        }

        return new JsonModel([
            'success' => $success,
            'errors' => $errors,
        ]);
    }
public function checkSysConfigAction ( ) { $ success = 0 ; $ errors = [ ] ; if ( $ this -> getRequest ( ) -> isXmlHttpRequest ( ) ) { $ response = $ this -> systemConfigurationChecker ( ) ; $ success = $ response [ 'success' ] ; $ errors = $ response [ 'errors' ] ; // add status to session $ container = new Container ( 'melisinstaller' ) ; $ container [ 'steps' ] [ $ this -> steps [ 0 ] ] = [ 'page' => 1 , 'success' => $ success ] ; } return new JsonModel ( [ 'success' => $ success , 'errors' => $ errors , ] ) ; }
This function is used for rechecking the status the desired step
@return \Zend\View\Model\JsonModel
This function is used for rechecking the status the desired step