Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 161... Línea 161...
161
     * @param string $screen
161
     * @param string $screen
162
     * @param int $itemid
162
     * @param int $itemid
163
     * @param bool|null $display Should we wrap this in an anchor ?
163
     * @param bool|null $display Should we wrap this in an anchor ?
164
     * @return string The link
164
     * @return string The link
165
     */
165
     */
166
    public function format_link(string $screen, int $itemid, bool $display = null): string {
166
    public function format_link(string $screen, int $itemid, ?bool $display = null): string {
167
        $url = new moodle_url('/grade/report/singleview/index.php', [
167
        $url = new moodle_url('/grade/report/singleview/index.php', [
168
            'id' => $this->courseid,
168
            'id' => $this->courseid,
169
            'item' => $screen,
169
            'item' => $screen,
170
            'itemid' => $itemid,
170
            'itemid' => $itemid,
171
            'group' => $this->groupid,
171
            'group' => $this->groupid,