Пример #1
0
 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();
 }
Пример #2
0
 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();
 }
Пример #3
0
 public function delete()
 {
     $route = parent::get_route();
     $accessor = new Accessor($route);
     $accessor->delete_accessor($route->get_request_path(), $route->get_request_params());
 }