Метод | Описание | |
---|---|---|
__construct ( string $title, string $link, string $description ) | ||
processLinks ( string $content ) : string | Process links, will prepend SITE_URL if needed and append UTM-parameters | |
setAuthor ( string $author ) | Set the author. | |
setDescription ( string $description ) | Set the description. | |
setGuid ( string $link, boolean $isPermaLink = true ) | Set the guid. | |
setLink ( string $link ) | Set the link. |
public processLinks ( string $content ) : string | ||
$content | string | The content to process. |
Результат | string |
public setDescription ( string $description ) | ||
$description | string | The content of the item. |