bsmither Posted June 14, 2019 Share Posted June 14, 2019 Regarding Cubecart::loadPage(), switch $_GET['_a'] case default... How can: if (method_exists($this, $method)) $this->{$method}(); accomplish anything? Other than calling methods that already exists in the class? A new method cannot be added to the Cubecart class via hooks. A separate child class extended from the parent Cubecart class is not within the $this scope as used in the parent Cubecart class. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.