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

Public Member Functions

 __construct ($node)
 getAccessType ()
 getUrl ()
 getModDate ()
 getAddDate ()
 getTitle ()
 getNickname ()
 getTags ()
 getNote ()

Data Fields

const ACCESSTYPE_PRIVATE = '0'
const ACCESSTYPE_PUBLIC = '1'

Protected Attributes

 $_accessType
 $_url
 $_modDate
 $_addDate
 $_title
 $_nickname
 $_tags
 $_note

Detailed Description

Definition at line 32 of file Link.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 Link.php.


Member Function Documentation

Returns the access type assigned to the link

See also:
ACCESSTYPE_PRIVATE
ACCESSTYPE_PUBLIC
Returns:
string

Definition at line 141 of file Link.php.

Returns the date the link was added

Returns:
string

Definition at line 171 of file Link.php.

Returns the date of the last modification made to the link

Returns:
string

Definition at line 161 of file Link.php.

Returns the nickname assigned to the link

Returns:
string

Definition at line 191 of file Link.php.

getNote ( )

Returns the note assigned to the link

Returns:
string

Definition at line 211 of file Link.php.

getTags ( )

Returns the tags assigned to the link

Returns:
array

Definition at line 201 of file Link.php.

getTitle ( )

Returns the title assigned to the link

Returns:
string

Definition at line 181 of file Link.php.

getUrl ( )

Returns the URL of the link

Returns:
string

Definition at line 151 of file Link.php.


Field Documentation

$_accessType [protected]

Definition at line 53 of file Link.php.

$_addDate [protected]

Definition at line 74 of file Link.php.

$_modDate [protected]

Definition at line 67 of file Link.php.

$_nickname [protected]

Definition at line 88 of file Link.php.

$_note [protected]

Definition at line 102 of file Link.php.

$_tags [protected]

Definition at line 95 of file Link.php.

$_title [protected]

Definition at line 81 of file Link.php.

$_url [protected]

Definition at line 60 of file Link.php.

const ACCESSTYPE_PRIVATE = '0'

Definition at line 39 of file Link.php.

const ACCESSTYPE_PUBLIC = '1'

Definition at line 46 of file Link.php.


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