PHP Class Suin\RSSWriter\Item

Inheritance: implements Suin\RSSWriter\ItemInterface
Show file Open project: suin/php-rss-writer Class Usage Examples

Protected Properties

Property Type Description
$author string
$categories array
$contentEncoded string
$description string
$enclosure array
$guid string
$isPermalink boolean
$preferCdata
$pubDate integer
$title string
$url string

Public Methods

Method Description
appendTo ( Suin\RSSWriter\ChannelInterface $channel )
asXML ( )
author ( $author )
category ( $name, $domain = null )
contentEncoded ( $content )
description ( $description )
enclosure ( $url, $length, $type = 'audio/mpeg' )
guid ( $guid, $isPermalink = false )
preferCdata ( $preferCdata )
pubDate ( $pubDate )
title ( $title )
url ( $url )

Method Details

appendTo() public method

public appendTo ( Suin\RSSWriter\ChannelInterface $channel )
$channel Suin\RSSWriter\ChannelInterface

asXML() public method

public asXML ( )

author() public method

public author ( $author )

category() public method

public category ( $name, $domain = null )

contentEncoded() public method

public contentEncoded ( $content )

description() public method

public description ( $description )

enclosure() public method

public enclosure ( $url, $length, $type = 'audio/mpeg' )

guid() public method

public guid ( $guid, $isPermalink = false )

preferCdata() public method

public preferCdata ( $preferCdata )

pubDate() public method

public pubDate ( $pubDate )

title() public method

public title ( $title )

url() public method

public url ( $url )

Property Details

$author protected property

protected string $author
return string

$categories protected property

protected array $categories
return array

$contentEncoded protected property

protected string $contentEncoded
return string

$description protected property

protected string $description
return string

$enclosure protected property

protected array $enclosure
return array

$guid protected property

protected string $guid
return string

$preferCdata protected property

protected $preferCdata

$pubDate protected property

protected int $pubDate
return integer

$title protected property

protected string $title
return string

$url protected property

protected string $url
return string