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

Class: DRSSChannelNodeItem

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

Class Overview

DObject
   |
   --DXMLNode
      |
      --DRSSChannelNodeItem

RSS Version 2.0 Channel Node Item


Variables

Methods


Inherited Constants

Inherited Variables

Inherited Methods

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 Channel Node Item



[ Top ]


Class Variables

$author =  ""

[line 52]

Author email

It's the email address of the author of the item. For newspapers and magazines syndicating via RSS, the author is the person who wrote the article that the item describes. For collaborative weblogs, the author of the item might be different from the managing editor or webmaster. For a weblog authored by a single individual it would make sense to omit the author element.




Tags:

access:  public

Type:   string


[ Top ]

$category =  null

[line 80]

Category collection

The value of the element is a forward-slash-separated string that identifies a hierarchic location in the indicated taxonomy. Processors may establish conventions for the interpretation of categories.




Tags:

access:  public



[ Top ]

$comments =  ""

[line 61]

Comments url

If present, it is the url of the comments page for the item.




Tags:

access:  public

Type:   string


[ Top ]

$description =  ""

[line 43]

Description

The item synopsis.




Tags:

access:  public

Type:   string


[ Top ]

$enclosure =  null

[line 89]

Enclosure

It has three required attributes. url says where the enclosure is located, length says how big it is in bytes, and type says what its type is, a standard MIME type.




Tags:

access:  public



[ Top ]

$guid =  null

[line 98]

giud

guid stands for globally unique identifier. It's a string that uniquely identifies the item. When present, an aggregator may choose to use this string to determine if an item is new.




Tags:

access:  public

Type:   DRSSItemNodeGUID


[ Top ]

$link =  ""

[line 34]

Link

The URL of the item.




Tags:

access:  public

Type:   string


[ Top ]

$pubDate =  null

[line 70]

Publication Date

Its value is a date, indicating when the item was published. If it's a date in the future, aggregators may choose to not display the item until that date.




Tags:

access:  public

Type:   DDate


[ Top ]

$source =  null

[line 107]

Source

Its value is the name of the RSS channel that the item came from, derived from its <title>. It has one required attribute, url, which links to the XMLization of the source.




Tags:

access:  public

Type:   DRSSItemNodeSource


[ Top ]

$title =  ""

[line 25]

Title

The title of the item.




Tags:

access:  public

Type:   string


[ Top ]



Class Methods


constructor __construct [line 116]

DRSSChannelNodeItem __construct( string $title)

Constructor



Tags:

access:  public


Overrides DXMLNode::__construct() (Constructor)

Parameters:

string   $title  

[ Top ]

method init [line 189]

void init( )

Inits



Tags:

access:  public


[ Top ]


Documentation generated on Sat, 17 Apr 2010 22:10:27 +0300 by phpDocumentor 1.4.3