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

Class: DRSSItemNodeEnclosure

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

Class Overview

DObject
   |
   --DXMLNode
      |
      --DRSSItemNodeEnclosure

RSS Version 2.0 Item Node Enclosure


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 17]
RSS Version 2.0 Item Node 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.




[ Top ]


Class Variables

$length =  ""

[line 31]

Length in bytes of the media



Tags:

access:  public

Type:   int


[ Top ]

$type =  ""

[line 38]

Type of the emdia



Tags:

access:  public

Type:   string


[ Top ]

$url =  ""

[line 24]

URL of the media



Tags:

access:  public

Type:   string


[ Top ]



Class Methods


constructor __construct [line 46]

DRSSItemNodeEnclosure __construct( string $url)

Constructor



Tags:

access:  public


Overrides DXMLNode::__construct() (Constructor)

Parameters:

string   $url  

[ Top ]

method init [line 78]

void init( )

Init



Tags:

access:  public


[ Top ]

method tryToInit [line 60]

void tryToInit( )

Try to init media

Till now works only for picture type medias and identification is based on imagemagick




Tags:

todo:  Implement GD and find a way to identify all media types
access:  public


[ Top ]


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