You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Abstract
Getting all the controllers and their methods in admin mode will allow to make features easier to use with autocompletion and a suggestion mechanism.
Desired Result
The following functions in the Admin\Control controller:
getAvailableControllers() - Will return in the status the set of all controllers in the machine/controllers directory. Controllers will be returned with their namespace excluding 'APIShift/Controllers' in the start which is obvious.
getControllerMethods() -> Will get the requested controller using the $_POST['controller'] variable. and return in it's status the set of methods present in the controller.
Additional context
Following these 2 features, we can integrate them in the controller access page and later in other systems that will need to work and validate work with controllers and methods in the system - there they become the features that allows for autocompletion and suggestion.
The text was updated successfully, but these errors were encountered:
Abstract
Getting all the controllers and their methods in admin mode will allow to make features easier to use with autocompletion and a suggestion mechanism.
Desired Result
The following functions in the Admin\Control controller:
getAvailableControllers()
- Will return in the status the set of all controllers in the machine/controllers directory. Controllers will be returned with their namespace excluding 'APIShift/Controllers' in the start which is obvious.$_POST['controller']
variable. and return in it's status the set of methods present in the controller.Additional context
Following these 2 features, we can integrate them in the controller access page and later in other systems that will need to work and validate work with controllers and methods in the system - there they become the features that allows for autocompletion and suggestion.
The text was updated successfully, but these errors were encountered: