My first controller is "zoom" and the second controller is "user". How can I call the zoom controller function into the User controller without class extends?
Asked
Active
Viewed 63 times
-1
-
1But why ??? Controller to Controller ?? If you have a common method, use a Model instead. – Abdulla Nilam Jun 03 '22 at 06:09
-
@AbdullaNilam , because I want to create a separate zoom controller, and When I need I have only called this, the reason for the speed issue. like library, but if I create library, in this file I don't use default $this->db function for get data into DB/ – Pankaj Dhameliya Jun 03 '22 at 07:01