Wez,
  scream at me if it seems dumb, but in my never-finished extension, 
each  plugin accepts an option hash in the init callback which is used 
to set up the object. the framework also stores this hash as an member 
of the object, and there are accessor methods to query the options.
  this keeps it simple for me..

Wez Furlong wrote:

> Hi Derick,
> 
> I'm leading up to be able to do this sort of thing, but want/need to
> discuss/brainstorm it here before I do much more to it.
> 

> 
> Any comments?
> 
> --Wez.
> 
> On 19/04/02, "Derick Rethans" <[EMAIL PROTECTED]> wrote:
> 
>>Hey Wez,
>>
>>I wonder if it is possible to set options after a stream has been opened. 
>>Something like:
>>
>>$fp = fopen ("crypt.des://secretfile.des", "r");
>>stream_option ($fp, "key", "very secret key");
>>
>>And if it's there, is there an example in the source of it?
>>
>>regards,
>>Derick
>>
>>
>>-- 
>>PHP Development Mailing List <http://www.php.net/>
>>To unsubscribe, visit: http://www.php.net/unsub.php
>>
> 
> 
> 


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to