public static function grade_competency_parameters() {
        $userid = new external_value(
            PARAM_INT,
            'User ID',
            VALUE_REQUIRED
        );
        $competencyid = new external_value(
            PARAM_INT,
            'Competency ID',
            VALUE_REQUIRED
        );
        $grade = new external_value(
            PARAM_INT,
            'New grade',
            VALUE_REQUIRED
        );
        $note = new external_value(
            PARAM_NOTAGS,
            'A note to attach to the evidence',
            VALUE_DEFAULT
        );

        $params = array(
            'userid' => $userid,
            'competencyid' => $competencyid,
            'grade' => $grade,
            'note' => $note,
        );
        return new external_function_parameters($params);
    }
public static function grade_competency_parameters() {
        $userid = new external_value(
            PARAM_INT,
            'User ID',
            VALUE_REQUIRED
        );
        $competencyid = new external_value(
            PARAM_INT,
            'Competency ID',
            VALUE_REQUIRED
        );
        $grade = new external_value(
            PARAM_INT,
            'New grade',
            VALUE_REQUIRED
        );
        $note = new external_value(
            PARAM_NOTAGS,
            'A note to attach to the evidence',
            VALUE_DEFAULT
        );

        $params = array(
            'userid' => $userid,
            'competencyid' => $competencyid,
            'grade' => $grade,
            'note' => $note,
        );
        return new external_function_parameters($params);
    }
public static function grade_competency_parameters ( ) { $ userid = new external_value ( PARAM_INT , 'User ID' , VALUE_REQUIRED ) ; $ competencyid = new external_value ( PARAM_INT , 'Competency ID' , VALUE_REQUIRED ) ; $ grade = new external_value ( PARAM_INT , 'New grade' , VALUE_REQUIRED ) ; $ note = new external_value ( PARAM_NOTAGS , 'A note to attach to the evidence' , VALUE_DEFAULT ) ; $ params = array ( 'userid' => $ userid , 'competencyid' => $ competencyid , 'grade' => $ grade , 'note' => $ note , ) ; return new external_function_parameters ( $ params ) ; }
Returns description of external function parameters.

@return \external_function_parameters
Returns description of external function parameters .