Last modified: 2007-07-18 01:26:40 UTC
Created attachment 3924 [details]
the patch (tm)
Sometimes you want to be able to decide if a parameter is "true" or "false". To make it easier, I propose a boolean function, as specified in accompanied patch. Perhaps some more words could be added, and language specific translations to be implemented (though I don't know where I should put it). I took the decision to say that negative numbers are false.
Too specialized and language-specific to be worth writing into the extension itself. Users can make a template. Recommend WONTFIX.
Thirded. Too specialized a purpose for a parser function. I agree with Simetrical -- this is better suited as a template on an individual project, not something in the extension itself that will need to be supported. Parser functions should really be reserved for cases that *can't* be handled by templates.