Welcome Guest, Not a member yet? Register   Sign In
Calling Controller without function and set param
#3

[eluser]uber_n00b[/eluser]
If you want to access the "term_of_search" from your controller function you can do so via:

Code:
function search($term = NULL){
     if ($term){
        //run my search with the passed term
     }
}


Messages In This Thread
Calling Controller without function and set param - by El Forum - 06-25-2012, 07:47 PM
Calling Controller without function and set param - by El Forum - 06-26-2012, 11:27 AM
Calling Controller without function and set param - by El Forum - 06-26-2012, 12:05 PM
Calling Controller without function and set param - by El Forum - 06-26-2012, 01:02 PM



Theme © iAndrew 2016 - Forum software by © MyBB