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

File: Pingback.php

Source Location: /Services_Pingback-0.2.1/Services/Pingback.php

Classes:

Services_Pingback
Pingback user-agent class.

Page Details:

PHP implementation of Pingback.

This file contains Services_Pingback that is able to be work as Pingback User-Agent.

PHP versions 4 and 5

LICENSE:

BSD License

Copyright (c) 2005-2006 Firman Wandayandi <firman@php.net> All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of Firman Wandayandi nor the names of contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

  • Author: Firman Wandayandi <firman@php.net>
  • Version: CVS: $Id: Pingback.php,v 1.2 2006/12/06 22:48:55 firman Exp $
  • Copyright: Copyright (c) 2005-2006 Firman Wandayandi <firman@php.net>
  • License: BSD License

Includes:

require_once('HTTP/Request.php') [line 68]
Load PEAR::HTTP_Request for HTTP request interface.
require_once('Net/URL.php') [line 63]
Load PEAR::Net_URL for URL manipulation.
require_once('XML/RPC/Server.php') [line 78]
Load PEAR::XML_RPC_Server for creating Pingback server.
require_once('XML/RPC.php') [line 73]
Load PEAR::XML_RPC for XML_RPC interface.

object $_Services_Pingback_server [line 143]

An instance of Services_Pingback object.

This is the way to make the server working when XML-RPC ping method called. This also meant that only one instance Pingback server can be run at one time.

  • Name: $_Services_Pingback_server
Default value:   null


[ Top ]



SERVICES_PINGBACK_ERROR [line 86]

SERVICES_PINGBACK_ERROR = 0
A generic fault code.

[ Top ]



SERVICES_PINGBACK_ERROR_ACCESS_DENIED [line 117]

SERVICES_PINGBACK_ERROR_ACCESS_DENIED = 49
Access denied.

[ Top ]



SERVICES_PINGBACK_ERROR_ALREADY_REGISTERED [line 112]

SERVICES_PINGBACK_ERROR_ALREADY_REGISTERED = 48
The pingback has already been registered.

[ Top ]



SERVICES_PINGBACK_ERROR_NO_TARGET_LINK [line 97]

SERVICES_PINGBACK_ERROR_NO_TARGET_LINK = 17
The source URI does not contain a link to the target URI, and so cannot be used as a source.

[ Top ]



SERVICES_PINGBACK_ERROR_SOURCE_NOT_EXISTS [line 91]

SERVICES_PINGBACK_ERROR_SOURCE_NOT_EXISTS = 16
The source URI does not exist.

[ Top ]



SERVICES_PINGBACK_ERROR_TARGET_NOT_EXISTS [line 102]

SERVICES_PINGBACK_ERROR_TARGET_NOT_EXISTS = 32
The specified target URI does not exist.

[ Top ]



SERVICES_PINGBACK_ERROR_TARGET_NOT_RESOURCE [line 107]

SERVICES_PINGBACK_ERROR_TARGET_NOT_RESOURCE = 33
The specified target URI cannot be used as a target.

[ Top ]



SERVICES_PINGBACK_ERROR_UPSTREAM_ERROR [line 124]

SERVICES_PINGBACK_ERROR_UPSTREAM_ERROR = 50
The server could not communicate with an upstream server, or received an error from an upstream server, and therefore could not complete the request.

This is similar to HTTP's 402 Bad Gateway error.


[ Top ]



SERVICES_PINGBACK_XML_RPC_STRING [line 129]

SERVICES_PINGBACK_XML_RPC_STRING = $GLOBALS['XML_RPC_String']
XML-RPC string type.

[ Top ]



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