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

File: Pingback.php

Source Location: /Services_Pingback-0.2.2/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: Copyright (c) 2005-2007 Firman Wandayandi <firman@php.net> All rights reserved.

This source file is subject to the BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://www.opensource.org/licenses/bsd-license.php If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to pear-dev@lists.php.net so we can send you a copy immediately.

  • Author: Firman Wandayandi <firman@php.net>
  • Version: CVS: $Id: Pingback.php,v 1.5 2007/08/03 11:14:03 firman Exp $
  • Copyright: Copyright (c) 2005-2007 Firman Wandayandi <firman@php.net>
  • License: BSD license

Includes:

require_once('HTTP/Request.php') [line 46]
Load PEAR::HTTP_Request for HTTP request interface.
require_once('Net/URL.php') [line 41]
Load PEAR::Net_URL for URL manipulation.
require_once('XML/RPC/Server.php') [line 56]
Load PEAR::XML_RPC_Server for creating Pingback server.
require_once('XML/RPC.php') [line 51]
Load PEAR::XML_RPC for XML_RPC interface.

object $_Services_Pingback_server [line 121]

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 64]

SERVICES_PINGBACK_ERROR = 0
A generic fault code.

[ Top ]



SERVICES_PINGBACK_ERROR_ACCESS_DENIED [line 95]

SERVICES_PINGBACK_ERROR_ACCESS_DENIED = 49
Access denied.

[ Top ]



SERVICES_PINGBACK_ERROR_ALREADY_REGISTERED [line 90]

SERVICES_PINGBACK_ERROR_ALREADY_REGISTERED = 48
The pingback has already been registered.

[ Top ]



SERVICES_PINGBACK_ERROR_NO_TARGET_LINK [line 75]

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 69]

SERVICES_PINGBACK_ERROR_SOURCE_NOT_EXISTS = 16
The source URI does not exist.

[ Top ]



SERVICES_PINGBACK_ERROR_TARGET_NOT_EXISTS [line 80]

SERVICES_PINGBACK_ERROR_TARGET_NOT_EXISTS = 32
The specified target URI does not exist.

[ Top ]



SERVICES_PINGBACK_ERROR_TARGET_NOT_RESOURCE [line 85]

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

[ Top ]



SERVICES_PINGBACK_ERROR_UPSTREAM_ERROR [line 102]

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 107]

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

[ Top ]



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