Jump to content

Efficient Argument Passing


robbyc

Recommended Posts

I have a web service written in object oriented PHP.

 

I have a front end to this web service and for testing purposes I want to be able to configure a number of options from the front end.

 

So I have seven check boxes and each indicate whether a piece of code should be executed or not.

What is the most effective way to encode this information so I can pass it through the application as one argument and decode it when needed. As opposed to passing seven arguments through a number of classes.

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/37903-efficient-argument-passing/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.