Never mind, a silly typo caused me grief for a few hours! Everything is fine, no includes/references were needed.
Hi folks,
I'm using Breezing Forms on a site of mine. One of the forms I'm working on involves some rather intricate juggling of data from a few different tables, and the resulting script in the form is around 500 lines of code.
This amount of code is not very handy to edit in the form editor, not to mention testing. I therefore decided to catch up on my OOP-skills, and implement the major part of my code as a separate php-class, which I include into the form script. Hopefully the end result will be a cleaner, more modularized version of a code long since grown wild
Now, my problem isn't strictly speaking a BF-problem, but rather a Joomla-programming question. I'd like to use the Joomla API in my class, accessing the database through the database-object, reading user-information with a JFactory::getUser()-command, and so on. What includes/references to Joomla-scripts should I throw into my class in order to achieve this?
Thank you for any reply.
Best regards,
Mike