protected function log_warning($courseid, $competencyid, $cmid, $message) {
        $this->warnings[] = array(
            'courseid' => $courseid,
            'competencyid' => $competencyid,
            'cmid' => $cmid,
            'message' => $message
        );
    }
protected function log_warning($courseid, $competencyid, $cmid, $message) {
        $this->warnings[] = array(
            'courseid' => $courseid,
            'competencyid' => $competencyid,
            'cmid' => $cmid,
            'message' => $message
        );
    }
protected function log_warning ( $ courseid , $ competencyid , $ cmid , $ message ) { $ this -> warnings [ ] = array ( 'courseid' => $ courseid , 'competencyid' => $ competencyid , 'cmid' => $ cmid , 'message' => $ message ) ; }
Log a warning.
@param int $courseid The course ID.
@param int $competencyid The competency ID.
@param int $cmid The CM ID.
@param string $message The warning message.
@return void
Log a warning .