• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
optional parameters in functions

#1
[eluser]richzilla[/eluser]
I dont know if this is a general PHP question or wether code igniter implements its own solution,but here goes. My pages have a builder function for the page that takes 2 parameters, the page to be loaded, and and any data that may or may not be needed by the page. Ive done quite a lot of asp.net/C# and i know you can specify a parameter as optional with the ? symbol, but is there a similar solution in php?

cheers


Messages In This Thread
optional parameters in functions - by El Forum - 09-07-2009, 09:07 AM
optional parameters in functions - by El Forum - 09-07-2009, 09:16 AM
optional parameters in functions - by El Forum - 09-07-2009, 09:18 AM
optional parameters in functions - by El Forum - 09-07-2009, 11:41 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.