Welcome Guest, Not a member yet? Register   Sign In
need dynamic function name in controller
#3

This may also be useful:
http://www.codeigniter.com/user_guide/ge...thod-calls

PHP Code:
public function _remap($method$params = array())
{
    
$carMake $this->getMake($method);
    
$carModel = empty($params) ? '' $this->getModel($params);
    
    
// do something now that you have the make and model

Reply


Messages In This Thread
RE: need dynamic function name in controller - by mwhitney - 06-01-2015, 08:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB