Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 63... Línea 63...
63
     *
63
     *
64
     * @param \moodle_url $url The URL location of the image
64
     * @param \moodle_url $url The URL location of the image
65
     * @param string $title The title of the image
65
     * @param string $title The title of the image
66
     * @param \moodle_url $link The URL of the image link
66
     * @param \moodle_url $link The URL of the image link
67
     */
67
     */
68
    public function __construct(\moodle_url $url, $title, \moodle_url $link = null) {
68
    public function __construct(\moodle_url $url, $title, ?\moodle_url $link = null) {
69
        $this->url      = $url;
69
        $this->url      = $url;
70
        $this->title    = $title;
70
        $this->title    = $title;
71
        $this->link     = $link;
71
        $this->link     = $link;
72
    }
72
    }