Welcome Guest, Not a member yet? Register   Sign In
initialize variables
#1

[eluser]Unknown[/eluser]
Wondering if CI has a function similar to the Coldfusion CFPARAM or even the Joomla mosGetParam function.

Basically it would give an easier syntax than:

$var1 = isset($variable2) ? $variable2 : '';

Maybe something like
$var1 = setVar($nameofvar, 'default value if non-existant');

thanks


Messages In This Thread
initialize variables - by El Forum - 10-13-2009, 02:33 PM
initialize variables - by El Forum - 10-13-2009, 06:05 PM
initialize variables - by El Forum - 10-13-2009, 06:45 PM
initialize variables - by El Forum - 10-13-2009, 07:03 PM
initialize variables - by El Forum - 10-14-2009, 09:15 AM
initialize variables - by El Forum - 10-14-2009, 10:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB