From: Niklas Laxström Date: Fri, 26 Jun 2009 11:17:12 +0000 (+0000) Subject: Core change for r52446, allow querying params like id X-Git-Tag: 1.31.0-rc.0~41204 X-Git-Url: http://git.cyclocoop.org/%22.%24match%5B1%5D.%22?a=commitdiff_plain;h=592be1ab8ca3daa0bdc9600445b44140a041a653;p=lhc%2Fweb%2Fwiklou.git Core change for r52446, allow querying params like id --- diff --git a/includes/Xml.php b/includes/Xml.php index 0358507e0b..5359f32362 100644 --- 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;