On Sat, Aug 22, 2009 at 8:56 AM, Andrew Garrett<[email protected]> wrote:
> On 22/08/2009, at 12:06 AM, Aryeh Gregor wrote:
>>    public static function a( $href, $attribs = array() ) {
>
> Is the omission of a content parameter deliberate?

No, I was just thoughtlessly copying from input.  I'm not sure a()
would be very useful anyway.

Actually, I think input() and friends could mostly be replaced with
HtmlForm, if that does what I think it does (I haven't actually tried
to use it).  So maybe I should start porting things to HtmlForm
instead of Html::input().  That would give us all sorts of transparent
input validation and nice things like that.

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to