Services_Yadis
[ class tree: Services_Yadis ] [ index: Services_Yadis ] [ all elements ]

Source for file test.php

Documentation is available at test.php

  1. <?php
  2.  
  3. set_include_path(dirname(__FILE__. PATH_SEPARATOR . get_include_path());
  4.  
  5. require_once 'Services/Yadis.php';
  6. // $yadis = new Services_Yadis('http://www.yahoo.com/');
  7. $yadis = new Services_Yadis('=self*shupp');
  8. $serviceList $yadis->discover();
  9. foreach ($serviceList as $service{
  10.     $types $service->getTypes();
  11.     echo $types[0]' at 'implode(', '$service->getUris())PHP_EOL;
  12.     echo 'Priority is '$service->getPriority()PHP_EOL;
  13. }

Documentation generated on Mon, 11 Mar 2019 15:35:05 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.