Re: Where is the function getTotal() declared?
When re-deploying, X-Cart 5.2.x auto-generates get* and set* methods for model properties. getTotal() translates to $this->total. You won't find these methods in the classes/ directory, but you will find them in the var/run/classes directory.
However, the upcoming X-Cart 5.3 won't autogenerate these methods anymore, so module authors will have to declare them manually.
|