Class flRssItem
flRssItem Class
Class to hold a channel item.
-
flRssItem
implements
Iterator,
Countable
Package: fusionLib
Copyright:
Copyright (c) 2008 - 2012 fusionLib. All rights reserved.
Located at system/libs/Rss/flRssClient.php
Methods summary
public
string
|
#
__get( string $key )
Read a value.
Parameters
- $key
- The name of the element to get.
Returns
string The value or and empty string if not set.
|
public
boolean
|
#
__isset( string $key )
Test if a element is present.
Test if a element is present.
Parameters
- $key
- The name of the element to test for.
Returns
boolean True if the element is present; else false.
|
public
|
#
__set( string $key, mixed $value )
Set a new value for an element.
Set a new value for an element.
Parameters
- $key
- The name of the element to set.
- $value
- The value to set.
|
public
|
#
__unset( string $key )
Unset an element.
Parameters
- $key
- The name of the element to unset.
|
public
mixed|
|
#
next( )
Get the next item.
Returns
mixed| The item.
Implementation of
Iterator::next()
|
public
mixed|
|
#
rewind( )
Move to the first item in the list.
Move to the first item in the list.
Returns
mixed| The item.
Implementation of
Iterator::rewind()
|
public
mixed
|
#
key( )
Get the key.
Returns
mixed The key.
Implementation of
Iterator::key()
|
public
mixed
|
#
current( )
Get the current item.
Returns
mixed The item.
Implementation of
Iterator::current()
|
public
boolean
|
#
valid( )
Test if the current location is valid.
Test if the current location is valid.
Returns
boolean true if valid; else false.
Implementation of
Iterator::valid()
|
public
integer
|
#
count( )
Get the number of items.
Returns
integer Number of items.
Implementation of
Countable::count()
|
Properties summary
public
array
|
$elements
|
|
public
array
|
$categories
|
|