| [ Index ] |
|
Code source de LifeType 1.2.4 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 156 lignes (4 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 1 fois |
| Nécessite: | 0 fichiers |
RSSItem:: (11 méthodes):
RSSItem()
getLink()
getTitle()
getImage()
getDescription()
get()
getUniqueId()
getEnclosure()
getEnclosures()
hasEnclosures()
getNumEnclosures()
| RSSItem( $item ) X-Ref |
| Creates an RSSItem object from the output given by the MagpieRSS parser param: item The RSS item. |
| getLink() X-Ref |
| Returns the link assigned to the item. return: The link assigned to the item. |
| getTitle() X-Ref |
| Returns the title assigned to the link. return: Title assigned to the link. |
| getImage() X-Ref |
| Image assigned to the item return: URI of the image assigned to this item |
| getDescription() X-Ref |
| Description assigned to this item. param: Description assigned to the item. |
| get( $key ) X-Ref |
| Even though we provide convenience methods for the most used fields of the object, might be good to provide one to access the 'item' array generically param: key Name assigned to the item return: The value of the item. |
| getUniqueId() X-Ref |
| returns a unique id for this item return: a unique id |
| getEnclosure() X-Ref |
| returns one enclosure. If there is more than one, it will only return the first one return: an RssEnclosure object |
| getEnclosures() X-Ref |
| retursn an array of RssEnclosure objects return: an array of RssEnclosure objects, or an empty array if there was none |
| hasEnclosures() X-Ref |
| returns true if the feed has enclosures or false if not @return boolean |
| getNumEnclosures() X-Ref |
| returns the number of enclosures that this item has return: an integer |
| Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
|