I have these URLs:
How to get controller name, action name from these URLs. I'm CodeIgniter newbie. Are there any helper function to get this info
Ex:
$params = helper_function( current_url() )
Where $params
becomes something like
array (
'controller' => 'system/settings',
'action' => 'edit',
'...'=>'...'
)
The methods are deprecated.
You can access the properties instead.
See codeigniter user guide
controller class is not working any functions.
so I recommend to you use the following scripts
Use This Code anywhere in class or libraries
Another way