PHP 클래스 Frontend\Core\Engine\RssItem

상속: extends SpoonFeedRSSItem
파일 보기 프로젝트 열기: forkcms/forkcms 1 사용 예제들

공개 메소드들

메소드 설명
__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.

메소드 상세

__construct() 공개 메소드

public __construct ( string $title, string $link, string $description )
$title string The title for the item.
$link string The link for the item.
$description string The content for the item.

setAuthor() 공개 메소드

Set the author.
public setAuthor ( string $author )
$author string The author to use.

setDescription() 공개 메소드

All links and images that link to internal files will be prepended with the sites URL
public setDescription ( string $description )
$description string The content of the item.

setGuid() 공개 메소드

If the link is an internal link the sites URL will be prepended.
public setGuid ( string $link, boolean $isPermaLink = true )
$link string The guid for an item.
$isPermaLink boolean Is this link permanent?