public function __construct($route) { parent::__construct($route); echo 'ENTERED SUBACTION <br/>'; print_r(parent::get_route()->get_request_path()); $this->execute_request(); $this->route_complete(); }
public function __construct($route) { parent::__construct($route); //check if route is completed, if uncompleted redirect $this->route(); echo 'ENTERED SUBCONTROL <br/>'; print_r(parent::get_route()->get_request_path()); $this->execute_request(); $this->route_complete(); }
public function delete() { $route = parent::get_route(); $accessor = new Accessor($route); $accessor->delete_accessor($route->get_request_path(), $route->get_request_params()); }