Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 46... Línea 46...
46
     * Constructor.
46
     * Constructor.
47
     *
47
     *
48
     * @param xml_writer $writer XML writer to save data
48
     * @param xml_writer $writer XML writer to save data
49
     * @param c\core\progress\base$progress Progress tracker (optional)
49
     * @param c\core\progress\base$progress Progress tracker (optional)
50
     */
50
     */
51
    public function __construct(xml_writer $writer, \core\progress\base $progress = null) {
51
    public function __construct(xml_writer $writer, ?\core\progress\base $progress = null) {
52
        $this->writer = $writer;
52
        $this->writer = $writer;
53
        $this->progress = $progress;
53
        $this->progress = $progress;
54
        $this->vars = array();
54
        $this->vars = array();
55
    }
55
    }