Bureaucrats, emailconfirmed, Administrators
825
edits
No edit summary |
|||
| Line 33: | Line 33: | ||
<source lang="php"> | <source lang="php"> | ||
$extrafields = new ExtraFields($db); | $extrafields = new ExtraFields($db); | ||
$extralabels=$extrafields->fetch_name_optionals_label( | $extralabels=$extrafields->fetch_name_optionals_label($object->table_element); | ||
</source> | </source> | ||
$extralabels will be an array with code and label of extrafields. | $extralabels will be an array with code and label of extrafields. | ||
== Load extrafield into object == | == Load extrafield into object == | ||