Re: Where is the function getTotal() declared?
There is no function "total". "Total" is a field in table. When the object is built XC automatically creates getTotal and setTotal functions to read/write in this field.
So if you have TableA and field in it called "total"
$TableA->total;
$TableA->getTotal();
$tableA->setTotal();
all work with the field "total" from table "TableA"
__________________
Steve Stoyanov
CFLSystems.com
Web Development
|