Re: svn: /phd/trunk/ package.xml phpdotnet/phd/BuildOptionsParser.php phpdotnet/phd/Config.php phpdotnet/phd/functions.php
| From: | Moacir de Oliveira | Date: | Thu, 08 Apr 2010 13:53:47 +0000 |
| Subject: | Re: svn: /phd/trunk/ package.xml phpdotnet/phd/BuildOptionsParser.php phpdotnet/phd/Config.php phpdotnet/phd/functions.php | ||
| References: | 1 2 3 | Groups: | php.doc.cvs |
| Request: | Send a blank email to doc-cvs+get-6345@lists.php.net to get a copy of this message | ||
hi,
2010/4/8 Richard Quadling <rquadling@googlemail.com>
>
>
> /**
> * Maps static function calls to config option setter/getters.
> *
> * To set an option, call "Config::setOptionname($value)".
> * To retrieve an option, call "Config::optionname()".
> *
> * It is also possible, but deprecated, to call
> * "Config::set_optionname($value)".
> *
> * @param string $name Name of called function
> * @param array $params Array of function parameters
> *
> * @return mixed Config value that was requested or set.
> */
>
>
> I was just obeying the comments.
>
>
I think that shouldn't be deprecated, since the option names have
underscores I don't like the idea of mixing that with camel case.
I do prefer: set_option_name instead of setOption_name
--Moacir