Moodle  2.2.1
http://www.collinsharper.com
Zend_Service_Simpy_Watchlist Class Reference

Public Member Functions

 __construct ($node)
 getId ()
 getName ()
 getDescription ()
 getAddDate ()
 getNewLinks ()
 getUsers ()
 getFilters ()

Protected Attributes

 $_id
 $_name
 $_description
 $_addDate
 $_newLinks
 $_users
 $_filters

Detailed Description

Definition at line 38 of file Watchlist.php.


Constructor & Destructor Documentation

__construct ( node)

Constructor to initialize the object with data

Parameters:
DOMNode$nodeIndividual <watchlist> node from a parsed response from a GetWatchlists or GetWatchlist operation
Returns:
void

Definition at line 97 of file Watchlist.php.


Member Function Documentation

Returns a timestamp for when the watchlist was added

Returns:
string

Definition at line 157 of file Watchlist.php.

Returns the description of the watchlist

Returns:
string

Definition at line 147 of file Watchlist.php.

Returns a list of filters included in the watchlist

Returns:
Zend_Service_Simpy_WatchlistFilterSet

Definition at line 187 of file Watchlist.php.

getId ( )

Returns the identifier for the watchlist

Returns:
int

Definition at line 127 of file Watchlist.php.

getName ( )

Returns the name of the watchlist

Returns:
string

Definition at line 137 of file Watchlist.php.

Returns the number of new links in the watchlist

Returns:
int

Definition at line 167 of file Watchlist.php.

getUsers ( )

Returns a list of usernames for users included in the watchlist

Returns:
array

Definition at line 177 of file Watchlist.php.


Field Documentation

$_addDate [protected]

Definition at line 66 of file Watchlist.php.

$_description [protected]

Definition at line 59 of file Watchlist.php.

$_filters [protected]

Definition at line 87 of file Watchlist.php.

$_id [protected]

Definition at line 45 of file Watchlist.php.

$_name [protected]

Definition at line 52 of file Watchlist.php.

$_newLinks [protected]

Definition at line 73 of file Watchlist.php.

$_users [protected]

Definition at line 80 of file Watchlist.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations