Auth_OpenID_ServerError::__construct PHP Method

__construct() public method

public __construct ( $message = null, $text = null, $reference = null, $contact = null )
    function __construct($message = null, $text = null, $reference = null, $contact = null)
    {
        $this->message = $message;
        $this->text = $text;
        $this->contact = $contact;
        $this->reference = $reference;
    }

Usage Example

Example #1
0
 function __construct($message, $return_to, $trust_root)
 {
     parent::__construct($message, "Untrusted return_to URL");
     $this->return_to = $return_to;
     $this->trust_root = $trust_root;
 }