I am working on a new asset, and I trying to refresh my memory about the functions inside the new_asset.inc file. Do all of the functions get executed when the asset edit is committed? When do these functions get executed?
Thanks.
New_asset.inc Functions
The asset.inc file is where functions like printFrontend and printBody live. These are called when the asset is printed. Everything these in here either overrides core functionality or is used as a helper for printing the content.
The edit_fns.inc file is where the paintX() and processX() functions live. These are the ones processed when you commit a screen, but depend on the screen XML files as to which functions are used to paint and process on each screen.
[quote]The asset.inc file is where functions like printFrontend and printBody live. These are called when the asset is printed. Everything these in here either overrides core functionality or is used as a helper for printing the content.
The edit_fns.inc file is where the paintX() and processX() functions live. These are the ones processed when you commit a screen, but depend on the screen XML files as to which functions are used to paint and process on each screen.[/quote]
Ah yes. Thanks Greg for getting my mind back in gear. It has been a while since I have dived into the codeā¦
Back on track now.