| 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_Regex Services_Trackback_SpamCheck_SURBL Services_Trackback_SpamCheck_Wordlist |
[ Top ] $_options = array(
|
| Type: | array |
|
|
| object(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, 0 is assumed. |
| &$spamCheck | — |
|
|
| bool | $continouseCheck | — | Wether to check all spam protection modules or quit checking if one modules returns a positive result. |
| $continouse | — |
|
This static method is used to create a trackback object. (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.
| array | $data | — | Data for the trackback, which is obligatory: 'id' The ID of the trackback target. Data which is optional (for construction, not for specific methods): 'title' string Title of the trackback sending/receiving blog entry. 'excerpt' string Abstract of the trackback sending/receiving blog entry. 'blog_name' string Name of the trackback sending/receiving weblog. 'url' string URL of the trackback sending/receiving blog entry. 'trackback_url' string URL to send trackbacks to. 'extra' array Content of $_SERVER, captured while doing Services_Trackback::receive(). |
| array | $options | — | Options to set for this trackback. Valid options: 'strictness': int The default strictness to use in @see 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, |
|
| 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 using <!-- --> |
|
|
| int | $code | — | The error code |
| string | $message | — | The error message |
|
|
Receives a trackback. The following data has to be set in the data array to fulfill this operation: 'id'
| $data | — |
|
| object(Services_Trackback_SpamCheck) | &$spamCheck | — | The spam check module to remove. |
|
The following data has to be set to call this method: 'title' Title of the weblog entry sending the trackback. 'url' URL of the weblog entry sending the trackback. 'excerpt' Excerpt of the weblog entry sending the trackback. 'blog_name' Name of the weblog sending the trackback. 'trackback_url' URL to send the trackback to. Services_Trackback::send() requires PEAR::HTTP_Request. The options for the HTTP_Request 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 @see 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). |
|
| $response | — |