Module CustomFields Dev: Difference between revisions

Jump to navigation Jump to search
Line 355: Line 355:
simpleprintField() simpleprintFieldPDF()
simpleprintField() simpleprintFieldPDF()
findLabel() findLabelPDF()
findLabel() findLabelPDF()
== Facade API ==
=== customfields_fill_object() ===
You can load the Facade API and then use the '''customfields_fill_object()''' to automatically fetch the fields structures and the records, and also automatically link to remote fields when a constrained field is found. This is an all-in-one solution to easily fetch CustomFields datas, and is also optimized to fully use caching and other special properties of the CustomFields class.
=== customfields_fill_object_lines() ===
Similar to customfields_fill_object() for normal custom fields, there is also a '''customfields_fill_object_lines()''' to fetch custom fields associated with lines of products/services. This function is also optimized and it is strongly advised to use it and to not try to fetch manually this kind of custom fields (ie: associated with lines of products/services rather than objects), because there are a lot of optimizations going on behind the scene and that are very hard to do manually.


= Architecture =
= Architecture =
439

edits

Navigation menu