Moodle  2.2.1
http://www.collinsharper.com
ContentData Class Reference
Inheritance diagram for ContentData:
Collaboration diagram for ContentData:

Public Member Functions

 __construct ($node, $property, $mimetype=null, $encoding=null, $size=-1)
 setPropertyDetails ($node, $property)
 __toString ()
 getNode ()
 getProperty ()
 getIsDirty ()
 getMimetype ()
 setMimetype ($mimetype)
 getSize ()
 getEncoding ()
 setEncoding ($encoding)
 getUrl ()
 getGuestUrl ()
 getContent ()
 setContent ($content)
 writeContentFromFile ($fileName)
 readContentToFile ($fileName)
 onBeforeSave (&$statements, $where)
 onAfterSave ()

Detailed Description

Definition at line 30 of file ContentData.php.


Constructor & Destructor Documentation

__construct ( node,
property,
mimetype = null,
encoding = null,
size = -1 
)

Definition at line 45 of file ContentData.php.


Member Function Documentation

Definition at line 64 of file ContentData.php.

Definition at line 141 of file ContentData.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 103 of file ContentData.php.

Definition at line 128 of file ContentData.php.

Definition at line 80 of file ContentData.php.

Definition at line 85 of file ContentData.php.

getNode ( )

Definition at line 70 of file ContentData.php.

Definition at line 75 of file ContentData.php.

getSize ( )

Definition at line 97 of file ContentData.php.

getUrl ( )

Definition at line 115 of file ContentData.php.

Here is the caller graph for this function:

Definition at line 235 of file ContentData.php.

onBeforeSave ( &$  statements,
where 
)

Definition at line 192 of file ContentData.php.

Here is the call graph for this function:

readContentToFile ( fileName)

Definition at line 185 of file ContentData.php.

Here is the call graph for this function:

setContent ( content)

Definition at line 171 of file ContentData.php.

setEncoding ( encoding)

Definition at line 109 of file ContentData.php.

setMimetype ( mimetype)

Definition at line 91 of file ContentData.php.

setPropertyDetails ( node,
property 
)

Definition at line 58 of file ContentData.php.

writeContentFromFile ( fileName)

Definition at line 178 of file ContentData.php.


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