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

Class: OpenID_ServiceEndpoints

Source Location: /OpenID-0.4.0/OpenID/ServiceEndpoints.php

Class Overview


OpenID_ServiceEndpoints


Author(s):

Copyright:

  • 2009 Rich Schumacher

Methods


Inherited Variables

Inherited Methods


Class Details

[line 33]
OpenID_ServiceEndpoints

This class represents a colleciton of OpenID_ServiceEndpoint objects. It implements several SPL interfaces to make it easy to consume.



[ Top ]


Method Detail

__construct (Constructor)   [line 65]

void __construct( string $identifier, [null|OpenID_Service_Endpoint $spec = null])

Sets the user-supplied identifier and adds a service if one is passed
  • Access: public

Parameters:

string   $identifier   —  User-supplied identifier
null|OpenID_Service_Endpoint   $spec   —  Service endpoint object

[ Top ]

addService   [line 103]

void addService( OpenID_ServiceEndpoint $endpoint)

Adds a service to the services array
  • Access: public

Parameters:

OpenID_ServiceEndpoint   $endpoint   —  The service endpoint object

[ Top ]

count   [line 182]

int count( )

Returns the number of service endpoints
  • Access: public

[ Top ]

getExpiresHeader   [line 194]

string getExpiresHeader( )

Gets the Expires header value

[ Top ]

getIdentifier   [line 91]

null|string getIdentifier( )

Returns the user-supplied identifier
  • Access: public

[ Top ]

getIterator   [line 117]

ArrayIterator getIterator( )

Returns an ArrayIterator object to traverse the services array
  • Access: public

[ Top ]

offsetExists   [line 129]

bool offsetExists( int $offset)

Checks to see if the offset exists in the services array
  • Access: public

Parameters:

int   $offset   —  The offset to check

[ Top ]

offsetGet   [line 141]

null|OpenID_ServiceEndpoint offsetGet( int $offset)

Returns the value of the services array at the specified offset
  • Access: public

Parameters:

int   $offset   —  The offset to retrieve

[ Top ]

offsetSet   [line 158]

void offsetSet( int $offset, OpenID_ServiceEndpoint $endpoint)

Sets a value in the services array
  • Access: public

Parameters:

int   $offset   —  The offset to set
OpenID_ServiceEndpoint   $endpoint   —  The service object to set

[ Top ]

offsetUnset   [line 172]

void offsetUnset( int $offset)

Removes a particular offset in the services array
  • Access: public

Parameters:

int   $offset   —  The offset to remove

[ Top ]

setExpiresHeader   [line 207]

OpenID_ServiceEndpoints setExpiresHeader( string $value)

Sets the Expires header value

Parameters:

string   $value   —  The Expires header value

[ Top ]

setIdentifier   [line 81]

void setIdentifier( string $identifier)

Sets the user-supplied indentifier
  • Access: public

Parameters:

string   $identifier   —  The user-supplied identifier

[ Top ]


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