|
| __construct () |
|
|
| getPostPings (int $post_id) |
|
| ping (string $url, int $post_id, string $post_title, string $post_excerpt, string $post_url) |
|
◆ __construct()
◆ getPostPings()
getPostPings |
( |
int |
$post_id | ) |
|
Get all pings sent for a given post.
- Parameters
-
integer | $post_id | The post identifier |
- Returns
- dcRecord The post pings.
References dcCore\app().
◆ ping()
ping |
( |
string |
$url, |
|
|
int |
$post_id, |
|
|
string |
$post_title, |
|
|
string |
$post_excerpt, |
|
|
string |
$post_url |
|
) |
| |
Sends a ping to given $url.
- Parameters
-
string | $url | The url |
int | $post_id | The post identifier |
string | $post_title | The post title |
string | $post_excerpt | The post excerpt |
string | $post_url | The post url |
- Exceptions
-
- Returns
- mixed false if error
References dcCore\app(), html\clean(), and html\escapeHTML().
◆ receiveTrackback()
receiveTrackback |
( |
int |
$post_id | ) |
|
◆ receivePingback()
receivePingback |
( |
string |
$from_url, |
|
|
string |
$to_url |
|
) |
| |
◆ receiveWebmention()
◆ discover()
Returns an array containing all discovered trackbacks URLs in $text.
- Parameters
-
- Returns
- array
◆ checkURLs()
static checkURLs |
( |
string |
$from_url, |
|
|
string |
$to_url |
|
) |
| |
|
static |
◆ PING_TABLE_NAME
const PING_TABLE_NAME = 'ping' |
◆ $table
The documentation for this class was generated from the following file: