summaryrefslogtreecommitdiffstats
path: root/Auth/Yadis
diff options
context:
space:
mode:
Diffstat (limited to 'Auth/Yadis')
-rw-r--r--Auth/Yadis/HTTPFetcher.php2
-rw-r--r--Auth/Yadis/Manager.php4
-rw-r--r--Auth/Yadis/ParanoidHTTPFetcher.php2
-rw-r--r--Auth/Yadis/ParseHTML.php2
-rw-r--r--Auth/Yadis/XML.php4
-rw-r--r--Auth/Yadis/XRDS.php4
-rw-r--r--Auth/Yadis/XRIRes.php2
-rw-r--r--Auth/Yadis/Yadis.php2
8 files changed, 11 insertions, 11 deletions
diff --git a/Auth/Yadis/HTTPFetcher.php b/Auth/Yadis/HTTPFetcher.php
index 148cde1..76bc323 100644
--- a/Auth/Yadis/HTTPFetcher.php
+++ b/Auth/Yadis/HTTPFetcher.php
@@ -23,7 +23,7 @@ define('Auth_OpenID_USER_AGENT',
'php-openid/'.Auth_OpenID_VERSION.' (php/'.phpversion().')');
class Auth_Yadis_HTTPResponse {
- function Auth_Yadis_HTTPResponse($final_url = null, $status = null,
+ function __construct($final_url = null, $status = null,
$headers = null, $body = null)
{
$this->final_url = $final_url;
diff --git a/Auth/Yadis/Manager.php b/Auth/Yadis/Manager.php
index 664521c..8c8c3e5 100644
--- a/Auth/Yadis/Manager.php
+++ b/Auth/Yadis/Manager.php
@@ -280,7 +280,7 @@ class Auth_Yadis_Manager {
*
* @access private
*/
- function Auth_Yadis_Manager($starting_url, $yadis_url,
+ function __construct($starting_url, $yadis_url,
$services, $session_key)
{
// The URL that was used to initiate the Yadis protocol
@@ -387,7 +387,7 @@ class Auth_Yadis_Discovery {
* @param string $session_key_suffix The optional session key
* suffix override.
*/
- function Auth_Yadis_Discovery($session, $url,
+ function __construct($session, $url,
$session_key_suffix = null)
{
/// Initialize a discovery object
diff --git a/Auth/Yadis/ParanoidHTTPFetcher.php b/Auth/Yadis/ParanoidHTTPFetcher.php
index 627ea9a..d15969b 100644
--- a/Auth/Yadis/ParanoidHTTPFetcher.php
+++ b/Auth/Yadis/ParanoidHTTPFetcher.php
@@ -27,7 +27,7 @@ require_once "Auth/OpenID.php";
* @package OpenID
*/
class Auth_Yadis_ParanoidHTTPFetcher extends Auth_Yadis_HTTPFetcher {
- function Auth_Yadis_ParanoidHTTPFetcher()
+ function __construct()
{
$this->reset();
}
diff --git a/Auth/Yadis/ParseHTML.php b/Auth/Yadis/ParseHTML.php
index 255d7cd..e0e9043 100644
--- a/Auth/Yadis/ParseHTML.php
+++ b/Auth/Yadis/ParseHTML.php
@@ -43,7 +43,7 @@ class Auth_Yadis_ParseHTML {
*/
var $_attr_find = '\b([-\w]+)=(".*?"|\'.*?\'|.+?)[\/\s>]';
- function Auth_Yadis_ParseHTML()
+ function __construct()
{
$this->_attr_find = sprintf("/%s/%s",
$this->_attr_find,
diff --git a/Auth/Yadis/XML.php b/Auth/Yadis/XML.php
index 2b8a20e..c96b2a9 100644
--- a/Auth/Yadis/XML.php
+++ b/Auth/Yadis/XML.php
@@ -134,7 +134,7 @@ class Auth_Yadis_XMLParser {
* @package OpenID
*/
class Auth_Yadis_domxml extends Auth_Yadis_XMLParser {
- function Auth_Yadis_domxml()
+ function __construct()
{
$this->xml = null;
$this->doc = null;
@@ -217,7 +217,7 @@ class Auth_Yadis_domxml extends Auth_Yadis_XMLParser {
* @package OpenID
*/
class Auth_Yadis_dom extends Auth_Yadis_XMLParser {
- function Auth_Yadis_dom()
+ function __construct()
{
$this->xml = null;
$this->doc = null;
diff --git a/Auth/Yadis/XRDS.php b/Auth/Yadis/XRDS.php
index 044d1e7..4f1ede0 100644
--- a/Auth/Yadis/XRDS.php
+++ b/Auth/Yadis/XRDS.php
@@ -85,7 +85,7 @@ class Auth_Yadis_Service {
/**
* Creates an empty service object.
*/
- function Auth_Yadis_Service()
+ function __construct()
{
$this->element = null;
$this->parser = null;
@@ -255,7 +255,7 @@ class Auth_Yadis_XRDS {
* Instantiate a Auth_Yadis_XRDS object. Requires an XPath
* instance which has been used to parse a valid XRDS document.
*/
- function Auth_Yadis_XRDS($xmlParser, $xrdNodes)
+ function __construct($xmlParser, $xrdNodes)
{
$this->parser = $xmlParser;
$this->xrdNode = $xrdNodes[count($xrdNodes) - 1];
diff --git a/Auth/Yadis/XRIRes.php b/Auth/Yadis/XRIRes.php
index 5e11587..b484bee 100644
--- a/Auth/Yadis/XRIRes.php
+++ b/Auth/Yadis/XRIRes.php
@@ -8,7 +8,7 @@ require_once 'Auth/Yadis/XRDS.php';
require_once 'Auth/Yadis/XRI.php';
class Auth_Yadis_ProxyResolver {
- function Auth_Yadis_ProxyResolver($fetcher, $proxy_url = null)
+ function __construct($fetcher, $proxy_url = null)
{
$this->fetcher = $fetcher;
$this->proxy_url = $proxy_url;
diff --git a/Auth/Yadis/Yadis.php b/Auth/Yadis/Yadis.php
index f885367..5be56da 100644
--- a/Auth/Yadis/Yadis.php
+++ b/Auth/Yadis/Yadis.php
@@ -68,7 +68,7 @@ class Auth_Yadis_DiscoveryResult {
// Did the discovery fail miserably?
var $failed = false;
- function Auth_Yadis_DiscoveryResult($request_uri)
+ function __construct($request_uri)
{
// Initialize the state of the object
// sets all attributes to None except the request_uri