- Mon Aug 26, 2019 6:53 am
#826148
Is there a way to reuse the database settings or load the database access method like executeQuery in my classes?
I've placed my class in the engine/classes/ folder, I'm loading it in the triggers with G::LoadClass(). In the trigger I would like to do something like:
I've placed my class in the engine/classes/ folder, I'm loading it in the triggers with G::LoadClass(). In the trigger I would like to do something like:
Code: Select all
technically i need to know that what is the root directory to start from for INCLUDE '' statements in classes which is placed everywhere...G::LoadClass('MyUtilsClass');
@@sometextfield = MyUtilsClass::getSupportDataFromCustomDatabaseField(<connection uid?>);