Line 46:
Line 46:
$object->fetch_optionals($rowid,$extralabels);
$object->fetch_optionals($rowid,$extralabels);
</source>
</source>
+
+
== Display extrafield value into PDF or HTML ==
+
After load extrafields
+
+
<source lang="php">
+
print $object->array_options ['options_XXX'];
+
</source>
+
Where XXX is the code of the extrafields
== Before call $object->create() or $object->update() ==
== Before call $object->create() or $object->update() ==