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://padraic.astrumfutura.com');
  7. $serviceList $yadis->discover();
  8. foreach ($serviceList as $service{
  9.     $types $service->getTypes();
  10.     echo $types[0]' at 'implode(', '$service->getUris())PHP_EOL;
  11.     echo 'Priority is '$service->getPriority()PHP_EOL;
  12. }

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