/** * Initialises the form and its attributes * @param string $formName Name of the form * @param string $method Submission method, GET or POST * @param string $action Destination for form submission * @param string $target Form's target * @param string $attributes Custom HTML attributes ('attr' => 'value') * @version 2012031701 * @since 2011101901 */ public function __construct($formName, $method, $action, $target = '', array $attributes = array()) { parent::MoodleQuickForm($formName, $method, $action, $target, $attributes); }