Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 44... Línea 44...
44
     * Constructs with item details.
44
     * Constructs with item details.
45
     *
45
     *
46
     * @param int $userid Userid for modinfo (if used)
46
     * @param int $userid Userid for modinfo (if used)
47
     * @param \section_info $section Section object
47
     * @param \section_info $section Section object
48
     */
48
     */
49
    public function __construct($userid = 0, \section_info $section = null) {
49
    public function __construct($userid = 0, ?\section_info $section = null) {
50
        parent::__construct($section);
50
        parent::__construct($section);
51
        $this->userid = $userid;
51
        $this->userid = $userid;
52
        $this->section = $section;
52
        $this->section = $section;
53
    }
53
    }