*
* @return void
*/
- function __construct($out = null, $title = null, $description = null, $options = null)
+ function __construct($out = null, $title = null, $description = null, array $options = array())
{
parent::__construct($out);
$this->title = $title;
$this->title,
// TRANS: Field title for a new question.
_m('The title of your question.'),
- 'title'
+ 'title',
+ true // HTML5 "required" attribute
);
$this->unli();
$this->li();
$this->description,
// TRANS: Field title for question details.
_m('Your question in detail.'),
- 'description'
+ 'description',
+ true // HTML5 "required" attribute
);
$this->unli();