protected function checkRequiredModules(array $data, &$result)
    {
        if ($data['installer'] === 'base'
            && empty($data['step'])
            && !$this->getModel()->hasAllRequiredModules()) {

            $result = array(
                'redirect' => '',
                'severity' => 'warning',
                'message' => gplcart_text('You cannot use this installer because some modules are missed in your distribution')
            );
        }
    }
protected function checkRequiredModules(array $data, &$result)
    {
        if ($data['installer'] === 'base'
            && empty($data['step'])
            && !$this->getModel()->hasAllRequiredModules()) {

            $result = array(
                'redirect' => '',
                'severity' => 'warning',
                'message' => gplcart_text('You cannot use this installer because some modules are missed in your distribution')
            );
        }
    }
protected function checkRequiredModules ( array $ data , & $ result ) { if ( $ data [ 'installer' ] === 'base' && empty ( $ data [ 'step' ] ) && ! $ this -> getModel ( ) -> hasAllRequiredModules ( ) ) { $ result = array ( 'redirect' => '' , 'severity' => 'warning' , 'message' => gplcart_text ( 'You cannot use this installer because some modules are missed in your distribution' ) ) ; } }
Check if all required modules in place
@param array $data
@param array $result
Check if all required modules in place