Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 70... Línea 70...
70
     * @param mixed $attributes Either a typical HTML attribute string or an associative array
70
     * @param mixed $attributes Either a typical HTML attribute string or an associative array
71
     */
71
     */
72
    public function __construct(
72
    public function __construct(
73
        $elementname = null,
73
        $elementname = null,
74
        $elementlabel = null,
74
        $elementlabel = null,
75
        choicelist $options = null,
75
        ?choicelist $options = null,
76
        $attributes = null
76
        $attributes = null
77
    ) {
77
    ) {
78
        parent::__construct($elementname, $elementlabel, $options, $attributes);
78
        parent::__construct($elementname, $elementlabel, $options, $attributes);
79
        $this->_type = 'choicedropdown';
79
        $this->_type = 'choicedropdown';
80
    }
80
    }