Fix doc-blocks for some HTMLForm elements
authorFlorian <florian.schmidt.stargatewissen@gmail.com>
Mon, 20 Jul 2015 16:27:36 +0000 (18:27 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Mon, 20 Jul 2015 17:01:04 +0000 (17:01 +0000)
commit88d616ba7b5226f33806000341ad04857382f621
tree9bb13957edeabe42e3ec7ce057df3b3ab4cd1bbd
parent06c7063501cbcf201e31aae41d21dcf10af694db
Fix doc-blocks for some HTMLForm elements

The @return doxygen parameter can take a class with a namespace, but
the \ needs to be escaped with an additional \. "\value" is usually interpreted
as a special command.

Actually with "@return OOUI\Widget", e.g., you'll get this output in your docs:
return OOUI

and an error message in the doxygen generation with something like "unknown command \Widget".

With "@return OOUI\\Widget" you'll get the expected output:
return OOUI\Widget

without any error message.

Change-Id: I14c4d7521f81ddd8c7b56facc1f0ae34f86b2299
includes/htmlform/HTMLButtonField.php
includes/htmlform/HTMLCheckField.php
includes/htmlform/HTMLFormField.php