|
|
|
|
@ -476,13 +476,13 @@ class ExtraField extends Model |
|
|
|
|
/** |
|
|
|
|
* Add elements to a form. |
|
|
|
|
* |
|
|
|
|
* @param FormValidator $form The form object to which to attach this element |
|
|
|
|
* @param int $itemId The item (course, user, session, etc) this extra_field is linked to |
|
|
|
|
* @param array $exclude Variables of extra field to exclude |
|
|
|
|
* @param bool $filter Whether to get only the fields with the "filter" flag set to 1 (true) or not (false) |
|
|
|
|
* @param bool $useTagAsSelect Whether to show tag fields as select drop-down or not |
|
|
|
|
* @param array $showOnlyTheseFields Limit the extra fields shown to just the list given here |
|
|
|
|
* @param array $orderFields An array containing the names of the fields shown, in the right order |
|
|
|
|
* @param FormValidator $form The form object to which to attach this element |
|
|
|
|
* @param int $itemId The item (course, user, session, etc) this extra_field is linked to |
|
|
|
|
* @param array $exclude Variables of extra field to exclude |
|
|
|
|
* @param bool $filter Whether to get only the fields with the "filter" flag set to 1 (true) or not (false) |
|
|
|
|
* @param bool $useTagAsSelect Whether to show tag fields as select drop-down or not |
|
|
|
|
* @param array $showOnlyTheseFields Limit the extra fields shown to just the list given here |
|
|
|
|
* @param array $orderFields An array containing the names of the fields shown, in the right order |
|
|
|
|
* @param array $extraData |
|
|
|
|
* @param bool $orderDependingDefaults |
|
|
|
|
* @param bool $adminPermissions |
|
|
|
|
|