Trackback |
![]() |
[ class tree: Trackback ] [ index: Trackback ] [ all elements ] |
![]() |
Packages: Services_Trackback Trackback Classes:
Services_Trackback
Files:Services_Trackback_SpamCheck Services_Trackback_SpamCheck_Akismet Services_Trackback_SpamCheck_DNSBL Services_Trackback_SpamCheck_Mock Services_Trackback_SpamCheck_Regex Services_Trackback_SpamCheck_SURBL Services_Trackback_SpamCheck_Wordlist |
[ Top ] $_options = array(
|
Type: | array |
|
Services_Trackback_SpamCheck | &$spamCheck | — | The spam check module to add. |
int | $priority | — | A priority value for the spam check. Lower priority indices are processed earlier. If no priority level is set,
|
$spamCheck | — |
|
|
bool | $continouse | — | Wether to check all spam protection modules or quit checking if one modules returns a positive result. |
|
(Services_Trackback::create($data)) The factory requires a data array as described below for creation. The 'id' key is obligatory for this method. Every other data is not quite necessary for the creation, but might be necessary for calling other methods afterwards. See the specific methods for further info on which data is required.
Data: Required id The ID of the trackback target. Optional title string Title of the trackback. excerpt string Abstract of the trackback. blog_name string Name of the trackback blog. url string URL of the trackback. trackback_url string URL to send trackbacks to. extra array Content of $_SERVER, captured while doing Services_Trackback::receive(). Options: strictness int The default strictness to use in Services_Trackback::autodiscover(). timeout int The default timeout for network operations in seconds. fetchlines int The max number of lines to fetch over the network. httprequest array The options utilized by HTTP_Request are stored here. The following options are the most commonly used for HTTP_Request in Services_Trackback. All other options are supported too, see HTTP_Request::HTTP_Request() for more detailed documentation. Some options for HTTP_Request are overwritten through the global settings of Services_Trackback (such as timeout). timeout float THE TIMEOUT SETTING IS OVERWRITTEN BY THE GLOBAL Services_Trackback SETTING. allowRedirects bool Wether to follow HTTP redirects or not. maxRedirects int Maximum number of redirects. useragent string The user agent to use for HTTP requests.
array | $data | — | Data for the trackback, which is obligatory. |
array | $options | — | Options to set for this trackback. |
|
string | $spamCheckType | — | Name of the spamcheck module to create and add. |
array | $options | — | Options for the spamcheckmodule. |
int | $priority | — | A priority value for the spam check. Lower priority indices are processed earlier. If no priority level is set, 0 is assumed. |
|
string | $key | — | The key to fetch a value for. |
|
The following data has to be set to call this method: 'id' 'title' 'url' 'trackback_url'
bool | $comments | — | Whether to include HTML comments around the RDF |
|
|
string | $message | — | The error message |
int | $code | — | The error code |
|
|
Receives a trackback. The following data has to be set in the data array to fulfill this operation: 'id'
mixed[] | $data | — | An array of data, ie, from $_POST. |
|
object(Services_Trackback_SpamCheck) | &$spamCheck | — | The spam check module to remove. |
$spamCheck | — |
|
The following data has to be set to call this method: 'title' Title of the weblog entry. 'url' URL of the weblog entry. 'excerpt' Excerpt of the weblog entry. 'blog_name' Name of the weblog. 'trackback_url' URL to send the trackback to.
Services_Trackback::send() requires HTTP_Request2. The options for the HTTP_Request2 object are stored in the global options array using the key 'http_request'.
string | $data | — | Additional data to complete the trackback. |
|
string | $key | — | The key to set a value for. |
string | $val | — | The value for the key. |
|
array | $options | — | Pairs of 'option' => 'value' as described at Services_Trackback::create(). |
|
array | $keys | — | Data keys to check. |
array | $data | — | Optionally the data to check (default is the object data). |
|
string | $url1 | — | The first URL. |
string | $url2 | — | The second URL. |
constant | $strictness | — | How strict to check URLs. Use one of Services_Trackback::STRICTNESS_* constants. |
|
array | $data | — | The data array (@see Services_Trackback::create()). |
|
string | $url | — | The URL to download data from. |
|
array | $keys | — | Data keys to receive |
array | $data | — | Optionally the data to check (default is the object data). |
|
array | $keys | — | Data keys to receive |
array | $data | — | Optionally the data to check (default is the object data). |
|
string | $response | — | Raw XML response |