public function dependancy_errors($dependentlesson, $errors) {
        $output  = $this->output->box_start('generalbox boxaligncenter');
        $output .= get_string('completethefollowingconditions', 'lesson', $dependentlesson->name);
        $output .= $this->output->box(implode('<br />'.get_string('and', 'lesson').'<br />', $errors),'center');
        $output .= $this->output->box_end();
        return $output;
    }
public function dependancy_errors($dependentlesson, $errors) {
        $output  = $this->output->box_start('generalbox boxaligncenter');
        $output .= get_string('completethefollowingconditions', 'lesson', $dependentlesson->name);
        $output .= $this->output->box(implode('<br />'.get_string('and', 'lesson').'<br />', $errors),'center');
        $output .= $this->output->box_end();
        return $output;
    }
public function dependancy_errors ( $ dependentlesson , $ errors ) { $ output = $ this -> output -> box_start ( 'generalbox boxaligncenter' ) ; $ output .= get_string ( 'completethefollowingconditions' , 'lesson' , $ dependentlesson -> name ) ; $ output .= $ this -> output -> box ( implode ( '<br />' . get_string ( 'and' , 'lesson' ) . '<br />' , $ errors ) , 'center' ) ; $ output .= $ this -> output -> box_end ( ) ; return $ output ; }
Returns HTML to display dependancy errors

@param object $dependentlesson
@param array $errors
@return string
Returns HTML to display dependancy errors