dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5a5cf6
)
Core change for r52446, allow querying params like id
author
Niklas Laxström
<nikerabbit@users.mediawiki.org>
Fri, 26 Jun 2009 11:17:12 +0000
(11:17 +0000)
committer
Niklas Laxström
<nikerabbit@users.mediawiki.org>
Fri, 26 Jun 2009 11:17:12 +0000
(11:17 +0000)
includes/Xml.php
patch
|
blob
|
history
diff --git
a/includes/Xml.php
b/includes/Xml.php
index
0358507
..
5359f32
100644
(file)
--- a/
includes/Xml.php
+++ b/
includes/Xml.php
@@
-751,6
+751,14
@@
class XmlSelect {
$this->attributes[$name] = $value;
}
+ public function getAttribute( $name ) {
+ if ( isset($this->attributes[$name]) ) {
+ return $this->attributes[$name];
+ } else {
+ return null;
+ }
+ }
+
public function addOption( $name, $value = false ) {
// Stab stab stab
$value = ($value !== false) ? $value : $name;