View Single Post
  #2  
Old 07-08-2016, 09:41 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default 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.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote