Re: [PEPr] +1 for Search::Search_Mnogosearch
| From: | Michael Wallner | Date: | Fri, 29 Oct 2004 08:17:42 +0000 |
| Subject: | Re: [PEPr] +1 for Search::Search_Mnogosearch | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-34149@lists.php.net to get a copy of this message | ||
Hi Gerrit Goetsch, you wrote:
> Martin Jansen wrote:
>> Global variables have to be called _SEARCH_MNOGOSEARCH_* instead of
>> SEARCH_MNOGOSEARCH_*. Otherwise the code looks fine and useful.
>>
> I'm a bit confused! I tried to apply my code to the CS and the CS for
> defines shows me to use CLASSNAME_VARIABLE. I also watched other code
> from pear and i found nothing else.
>
> So what to do?
> Please Discuss!
>
> define('SEARCH_MNOGOSEARCH_ERROR', -1);
> Right or wrong???
This is actually a constant and done right.
Martin meant things like:
$GLOBALS['_Search_Mnogosearch']
^
Cheers,
--
Michael - < mike(@)php.net >
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc