Re: [PHP-DOC] Callback prototypes

2012-02-02 Thread Justin Martin
On 12-02-02 09:58 PM, Hannes Magnusson wrote: Fair enough. It then still leaves us with the problem of the more complex callbacks that we need a solution for. I think that having pseudo-function references like the stream notification callback one is a reasonable solution to that problem. Th

Re: [PHP-DOC] Callback prototypes

2012-02-02 Thread Hannes Magnusson
On Fri, Feb 3, 2012 at 06:30, Justin Martin wrote: > On 12-02-02 09:24 PM, Hannes Magnusson wrote: >> >> I don't think its as simple as that. You still need to document the >> params, return values and stuff, which can often be whole lot of info. >> How would >> http://no2.php.net/manual/en/functi

Re: [PHP-DOC] Callback prototypes

2012-02-02 Thread Justin Martin
On 12-02-02 09:24 PM, Hannes Magnusson wrote: I don't think its as simple as that. You still need to document the params, return values and stuff, which can often be whole lot of info. How would http://no2.php.net/manual/en/function.session-set-save-handler.php for example become? I'd have that

Re: [PHP-DOC] Callback prototypes

2012-02-02 Thread Hannes Magnusson
On Fri, Feb 3, 2012 at 01:49, Justin Martin wrote: > Hello everyone, > > I'd like to propose using the methodsynopsis format for callback prototypes, > on function references such as that for array_reduce. > > >  function >   >   >   The callback function. >   >   >   voidcallback >   array role=

Re: [PHP-DOC] Callback prototypes

2012-02-02 Thread Alexey Shein
I think it's quite nice, this way it looks much more cleaner. 3 февраля 2012 г. 5:49 пользователь Justin Martin написал: > Hello everyone, > > I'd like to propose using the methodsynopsis format for callback prototypes, > on function references such as that for array_reduce. > > >  function >  

[PHP-DOC] Callback prototypes

2012-02-02 Thread Justin Martin
Hello everyone, I'd like to propose using the methodsynopsis format for callback prototypes, on function references such as that for array_reduce. function The callback function. voidcallback arrayrole="reference">result mixeditem This is rendered as such in th

[PHP-DOC] Re: Doc Editor (source) moved to Git

2012-02-02 Thread Yannick Torrès
Hi Alexander, Great job on the editor. As you can see, I have no time to work on it actually. About Codemirror, I don't see any of change about CRTL+C with readOnly mode. I have fix it with a work around : readOnly isn't a real mode here, just a workaround. Best, Yannick 2012/2/2 Alexander Mos