Öffentliche Methoden | |
Auth_Yadis_Manager ($starting_url, $yadis_url, $services, $session_key) | |
length () | |
nextService () | |
current () | |
forURL ($url) | |
started () |
Definiert in Zeile 276 der Datei Manager.php.
Auth_Yadis_Manager | ( | $ | starting_url, | |
$ | yadis_url, | |||
$ | services, | |||
$ | session_key | |||
) |
Intialize a new yadis service manager.
private
Definiert in Zeile 283 der Datei Manager.php.
00285 { 00286 // The URL that was used to initiate the Yadis protocol 00287 $this->starting_url = $starting_url; 00288 00289 // The URL after following redirects (the identifier) 00290 $this->yadis_url = $yadis_url; 00291 00292 // List of service elements 00293 $this->services = $services; 00294 00295 $this->session_key = $session_key; 00296 00297 // Reference to the current service object 00298 $this->_current = null; 00299 00300 // Stale flag for cleanup if PHP lib has trouble. 00301 $this->stale = false; 00302 }
current | ( | ) |
private
Definiert in Zeile 334 der Datei Manager.php.
00335 { 00336 // Return the current service. 00337 // Returns None if there are no services left. 00338 return $this->_current; 00339 }
forURL | ( | $ | url | ) |
length | ( | ) |
nextService | ( | ) |
Return the next service
$this->current() will continue to return that service until the next call to this method.
Definiert in Zeile 319 der Datei Manager.php.
00320 { 00321 00322 if ($this->services) { 00323 $this->_current = array_shift($this->services); 00324 } else { 00325 $this->_current = null; 00326 } 00327 00328 return $this->_current; 00329 }
started | ( | ) |
private
Definiert in Zeile 352 der Datei Manager.php.
00353 { 00354 // Has the first service been returned? 00355 return $this->_current !== null; 00356 }
Copyright © 2003 - 2009 MyOOS [Shopsystem]. All rights reserved. MyOOS [Shopsystem] is Free Software released under the GNU/GPL License. Webmaster: info@r23.de (Impressum) |
|