Comment to 'Developer Question: New Module'
  • Another question. What are all the predefined methods available to our classes?

    Example

    $this->_oTemplate-> is not defined by me, but is available in my module to interact with template class.

    What else is available? Or where are these defined so I can look through the code myself?

    • You may check all parents of your Module class. The first parent, inc/classes/BxDolModule.php file has the following settings:

        public $_aModule;
        public $_oDb;
        public $_oTemplate;
        public $_oConfig;
      

      the values ​​of all these variables are assigned in the constructor.