PHP Class Suin\RSSWriter\Item

Inheritance: implements Suin\RSSWriter\ItemInterface
Mostrar archivo 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_oe property

protected string $author
return string

$categories protected_oe property

protected array $categories
return array

$contentEncoded protected_oe property

protected string $contentEncoded
return string

$description protected_oe property

protected string $description
return string

$enclosure protected_oe property

protected array $enclosure
return array

$guid protected_oe property

protected string $guid
return string

$preferCdata protected_oe property

protected $preferCdata

$pubDate protected_oe property

protected int $pubDate
return integer

$title protected_oe property

protected string $title
return string

$url protected_oe property

protected string $url
return string