dépôts
/
lhc
/
web
/
wiklou.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge "Converted User touched key to using the WAN cache"
[lhc/web/wiklou.git]
/
includes
/
htmlform
/
HTMLSelectNamespace.php
1
<
?php
2
/**
3
* Wrapper for Html::namespaceSelector to use in HTMLForm
4
*/
5
class
HTMLSelectNamespace
extends
HTMLFormField
{
6
function
getInputHTML
(
$value
) {
7
return
Html
::
namespaceSelector
(
8
array
(
9
'selected'
=>
$value
,
10
'all'
=>
'all'
11
),
array
(
12
'name'
=>
$this
->
mName
,
13
'id'
=>
$this
->
mID
,
14
'class'
=>
'namespaceselector'
,
15
)
16
);
17
}
18
}