As I'm just beginning with developing for CMSMS, and am now creating the Ace Editor for CMSMS 2.x, I'd like some help on the following function from the main CMSModule class:
Code: Select all
CreateXMLPackage(string &$message, int &$filecount) : string
I understand the two arguments, they're not that hard. But should I place it in an action file? and then create something like:
Code: Select all
{cms_action_url action=MY_XML_EXPORT_ACTION_FILE}
in my admin page? And will this send an XML file to my browser?
Also, I can use it as a method of $this I think? Since it is a CMSModule class method and the module class extends that class?