[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pear-cvs
Subject:    [PEAR-CVS] cvs: pear /Services_Yadis/Yadis Service.php
From:       "Daniel O'Connor" <clockwerx () php ! net>
Date:       2009-05-24 14:28:37
Message-ID: cvsclockwerx1243175317 () cvsserver
[Download RAW message or body]

clockwerx		Sun May 24 14:28:37 2009 UTC

  Modified files:              
    /pear/Services_Yadis/Yadis	Service.php 
  Log:
  Request #15843 - add a getLocalIDs() method
  
http://cvs.php.net/viewvc.cgi/pear/Services_Yadis/Yadis/Service.php?r1=1.1&r2=1.2&diff_format=u
Index: pear/Services_Yadis/Yadis/Service.php
diff -u pear/Services_Yadis/Yadis/Service.php:1.1 pear/Services_Yadis/Yadis/Service.php:1.2
--- pear/Services_Yadis/Yadis/Service.php:1.1	Sat Sep 29 12:14:45 2007
+++ pear/Services_Yadis/Yadis/Service.php	Sun May 24 14:28:37 2009
@@ -38,7 +38,7 @@
  * @package    Services_Yadis
  * @author     Pádraic Brady (http://blog.astrumfutura.com)
  * @license    http://opensource.org/licenses/bsd-license.php New BSD License
- * @version    $Id: Service.php,v 1.1 2007/09/29 12:14:45 padraic Exp $
+ * @version    $Id: Service.php,v 1.2 2009/05/24 14:28:37 clockwerx Exp $
  */
 
 /**
@@ -108,6 +108,16 @@
        return $this->getElements('xrd:URI');
     }
 
+     /**
+     * Return an array of Service Type LocalID strings.
+     * 
+     * @return array|boolean
+     */
+    public function getLocalIDs()
+    {
+       return $this->getElements('xrd:LocalID');
+    }
+
     /**
      * Returns the Priority integer of this Service node.
      *
@@ -193,4 +203,4 @@
         return $return;
     }
 
-}
\ No newline at end of file
+}



-- 
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic