phpCoreLib2
[ class tree: phpCoreLib2 ] [ index: phpCoreLib2 ] [ all elements ]

Class: DRSSWriter

Source Location: /Files/XML/RSS/Ver20/DRSSWriter.php

Class Overview

DObject
   |
   --DXMLNode
      |
      --DXMLFile
         |
         --DRSSAbstractWriter
            |
            --DRSSWriter

RSS Version 2.0 Writer


Variables

Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: DRSSAbstractWriter

DRSSAbstractWriter::__construct()
Constructor
DRSSAbstractWriter::initChannel()
Inits clannel

Class: DXMLFile

DXMLFile::__construct()
Constructor
DXMLFile::toFile()
Saves data to file
DXMLFile::__toString()
Gets data string

Class: DXMLNode

DXMLNode::__construct()
Constructor
DXMLNode::addAttributeNameValue()
Adds attributes
DXMLNode::addAttributeObject()
Adds attributes
DXMLNode::addSubNodeObject()
Adds sub node
DXMLNode::addSubNodeSigneValue()
Adds sub node
DXMLNode::clearAttributes()
Clears all attributes
DXMLNode::clearSubNodes()
Clears sub nodes
DXMLNode::isEmpty()
Checks if the node is empty
DXMLNode::setNodeName()
Sets node name
DXMLNode::__toString()
Returns node string data

Class: DObject

DObject::__construct()
Constructor
DObject::debug()
Debig
DObject::getClassMembers()
Gets member variables of the instance
DObject::getClassMemberType()
Gets class member type
DObject::getClassMethods()
Gets classes of the class
DObject::getClassName()
Gets class name
DObject::PHPSerialize()
Gets serialized string of the class
DObject::trace()
Trace
DObject::__destruct()
Descructor
DObject::__toString()
Returns String equivalent of the object.

Class Details

[line 16]
RSS Version 2.0 Writer



[ Top ]


Class Variables

static $rssVersion =  "2.0"

[line 24]

Version of the rss



Tags:

access:  public

Type:   string
Overrides:   Array


[ Top ]

$category =  ""

[line 113]

Category name

Specify one or more categories that the channel belongs to.




Tags:

access:  public

Type:   string


[ Top ]

$cloud =  null

[line 147]

Category

Allows processes to register with a cloud to be notified of updates to the channel, implementing a lightweight publish-subscribe protocol for RSS feeds.




Tags:

access:  public



[ Top ]

$copyright =  ""

[line 69]

Copyright

Copyright notice for content in the channel.




Tags:

access:  public

Type:   string


[ Top ]

$description =  ""

[line 50]

Description(required)

Phrase or sentence describing the channel.




Tags:

access:  public

Type:   string


[ Top ]

$docs =  "http://backend.userland.com/rss"

[line 138]

Docs url

A URL that points to the documentation for the format used in the RSS file. It's probably a pointer to this page. It's for people who might stumble across an RSS file on a Web server 25 years from now and wonder what it is.




Tags:

access:  public

Type:   string


[ Top ]

$generator =  "phpCoreLib.Files.XML.RSS.Ver20.DRSSWriter"

[line 129]

Generator

A string indicating the program used to generate the channel.




Tags:

access:  public

Type:   string


[ Top ]

$image =  null

[line 156]

Image

Specifies a GIF, JPEG or PNG image that can be displayed with the channel.




Tags:

access:  public



[ Top ]

$items =  null

[line 200]

Items collection



Tags:

access:  public



[ Top ]

$language =  ""

[line 60]

Language

The language the channel is written in. This allows aggregators to group all Italian language sites, for example, on a single page. A list of allowable values for this element, as provided by Netscape. You may also use values defined by the W3C.




Tags:


Type:   string


[ Top ]

$lastBuildDate =  null

[line 104]

Last Buld Data

The last time the content of the channel changed.




Tags:

access:  public

Type:   DDate


[ Top ]

$link =  ""

[line 41]

Link(required)

The URL to the HTML website corresponding to the channel.




Tags:

access:  public

Type:   string


[ Top ]

$managingEditor =  ""

[line 78]

Managing Editor email

Email address for person responsible for editorial content.




Tags:

access:  public

Type:   string


[ Top ]

$pubDate =  null

[line 95]

Publication date

The publication date for the content in the channel. For example, the New York Times publishes on a daily basis, the publication date flips once every 24 hours. That's when the pubDate of the channel changes. All date-times in RSS conform to the Date and Time Specification of RFC 822, with the exception that the year may be expressed with two characters or four characters (four preferred).




Tags:

access:  public

Type:   DDate


[ Top ]

$rating =  ""

[line 120]

The PICS rating for the channel.



Tags:

access:  public

Type:   string


[ Top ]

$skipDays =  0

[line 192]

Day skip

A hint for aggregators telling them which days they can skip.




Tags:

access:  public

Type:   int


[ Top ]

$skipHours =  0

[line 183]

Hour skip

A hint for aggregators telling them which hours they can skip.




Tags:

access:  public

Type:   int


[ Top ]

$textInput =  null

[line 165]

Text input

Specifies a text input box that can be displayed with the channel.




Tags:

access:  public



[ Top ]

$title =  ""

[line 32]

Title(required)



Tags:

access:  public

Type:   string


[ Top ]

$ttl =  0

[line 174]

TTL

ttl stands for time to live. It's a number of minutes that indicates how long a channel can be cached before refreshing from the source. This makes it possible for RSS sources to be managed by a file-sharing network such as Gnutella.




Tags:

access:  public

Type:   int


[ Top ]

$webMaster =  ""

[line 86]

Web Master email

Email address for person responsible for technical issues relating to channel.




Tags:

access:  public

Type:   string


[ Top ]



Class Methods


constructor __construct [line 218]

DRSSWriter __construct( string $title, string $link, string $description)

Constructor



Tags:

access:  public


Overrides DRSSAbstractWriter::__construct() (Constructor)

Parameters:

string   $title  
string   $link  
string   $description  

[ Top ]

method initChannel [line 247]

void initChannel( )

Inits channel



Tags:

access:  public


Overrides DRSSAbstractWriter::initChannel() (Inits clannel)

[ Top ]

method __toString [line 232]

string __toString( )

Gets string data of the RSS file



Tags:

access:  public


Overrides DXMLFile::__toString() (Gets data string)

[ Top ]


Documentation generated on Sat, 17 Apr 2010 22:11:07 +0300 by phpDocumentor 1.4.3