Welcome Guest, Not a member yet? Register   Sign In
Accesto from view to function of two distinct controller
#1

Hello !! This is my first post and I have searched about this but there are no results ...


I have a view called from one controller, but if possible I need to execute a function from another controller.

Can this be done?
How ?


Thank you and sorry for my English
Reply
#2

You are only able to share the same function in a Controller, if they both extend the same parent.

Movies extends Example
Games extends Example

Movies and Games can now access functions in Example.

Or you need to add your functionally to a library, so you can share functions that way.
Reply
#3

Thank you !

I think my question has been resolved.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB