public function precheck_notices($results) {
        $output = html_writer::start_tag('div', array('class' => 'restore-precheck-notices'));
        if (array_key_exists('errors', $results)) {
            foreach ($results['errors'] as $error) {
                $output .= $this->output->notification($error);
            }
        }
        if (array_key_exists('warnings', $results)) {
            foreach ($results['warnings'] as $warning) {
                $output .= $this->output->notification($warning, 'notifyproblem');
            }
        }
        return $output.html_writer::end_tag('div');
    }
public function precheck_notices($results) {
        $output = html_writer::start_tag('div', array('class' => 'restore-precheck-notices'));
        if (array_key_exists('errors', $results)) {
            foreach ($results['errors'] as $error) {
                $output .= $this->output->notification($error);
            }
        }
        if (array_key_exists('warnings', $results)) {
            foreach ($results['warnings'] as $warning) {
                $output .= $this->output->notification($warning, 'notifyproblem');
            }
        }
        return $output.html_writer::end_tag('div');
    }
public function precheck_notices ( $ results ) { $ output = html_writer :: start_tag ( 'div' , array ( 'class' => 'restore-precheck-notices' ) ) ; if ( array_key_exists ( 'errors' , $ results ) ) { foreach ( $ results [ 'errors' ] as $ error ) { $ output .= $ this -> output -> notification ( $ error ) ; } } if ( array_key_exists ( 'warnings' , $ results ) ) { foreach ( $ results [ 'warnings' ] as $ warning ) { $ output .= $ this -> output -> notification ( $ warning , 'notifyproblem' ) ; } } return $ output . html_writer :: end_tag ( 'div' ) ; }
Displays precheck notices

@param array $results
@return string
Displays precheck notices