find:
Code: Select all
function getEvents() {
Code: Select all
public function getEvents() {
Code: Select all
function getEvents() {
Code: Select all
public function getEvents() {
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Sure, no problem.i2Paq wrote:Explain what the issue is please.
Source: http://stackoverflow.com/questions/6417 ... e-functionClasses are not just "function containers", they are there to represent an object, an entity. They are supposed to encapsulate the data required for the given entity with methods that work for it.
Sometimes there might be a class of object that only needs one method defined for it, but nevertheless it only belongs to that class of object.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Then it would become an inherited method of another class which, in this case, does not represent any other class than the one being extended; the controller engine.i2Paq wrote:Haha, I meant; what happens when it is not changed?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: No registered users and 2 guests