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

Public Member Functions

 __construct ($node)
 getAccessType ()
 getId ()
 getUri ()
 getModDate ()
 getAddDate ()
 getTitle ()
 getTags ()
 getDescription ()

Data Fields

const ACCESSTYPE_PRIVATE = 'private'
const ACCESSTYPE_PUBLIC = 'public'

Protected Attributes

 $_accessType
 $_id
 $_uri
 $_modDate
 $_addDate
 $_title
 $_tags
 $_description

Detailed Description

Definition at line 32 of file Note.php.


Constructor & Destructor Documentation

__construct ( node)

Constructor to initialize the object with data

Parameters:
DOMNode$nodeIndividual <link> node from a parsed response from a GetLinks operation
Returns:
void

Definition at line 111 of file Note.php.


Member Function Documentation

Returns the access type assigned to the note

See also:
ACCESSTYPE_PRIVATE
ACCESSTYPE_PUBLIC
Returns:
string

Definition at line 141 of file Note.php.

Returns the date the note was added

Returns:
string

Definition at line 181 of file Note.php.

Returns the description assigned to the note

Returns:
string

Definition at line 211 of file Note.php.

getId ( )

Returns the ID of the note

Returns:
int

Definition at line 151 of file Note.php.

Returns the date of the last modification made to the note

Returns:
string

Definition at line 171 of file Note.php.

getTags ( )

Returns the tags assigned to the note

Returns:
array

Definition at line 201 of file Note.php.

getTitle ( )

Returns the title assigned to the note

Returns:
string

Definition at line 191 of file Note.php.

getUri ( )

Returns the URI of the note

Returns:
string

Definition at line 161 of file Note.php.


Field Documentation

$_accessType [protected]

Definition at line 53 of file Note.php.

$_addDate [protected]

Definition at line 81 of file Note.php.

$_description [protected]

Definition at line 102 of file Note.php.

$_id [protected]

Definition at line 60 of file Note.php.

$_modDate [protected]

Definition at line 74 of file Note.php.

$_tags [protected]

Definition at line 95 of file Note.php.

$_title [protected]

Definition at line 88 of file Note.php.

$_uri [protected]

Definition at line 67 of file Note.php.

const ACCESSTYPE_PRIVATE = 'private'

Definition at line 39 of file Note.php.

const ACCESSTYPE_PUBLIC = 'public'

Definition at line 46 of file Note.php.


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