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

Public Member Functions

 OLE_PPS ($No, $name, $type, $prev, $next, $dir, $time_1st, $time_2nd, $data, $children)
 _DataLen ()
 _getPpsWk ()
 _savePpsSetPnt (&$pps_array)

Data Fields

 $No
 $Name
 $Type
 $PrevPps
 $NextPps
 $DirPps
 $Time1st
 $Time2nd
 $_StartBlock
 $Size
 $_data
 $children = array()

Detailed Description

Definition at line 33 of file PPS.php.


Member Function Documentation

_DataLen ( )

Returns the amount of data saved for this PPS

private

Returns:
integer The amount of data (in bytes)

Definition at line 147 of file PPS.php.

_getPpsWk ( )

Returns a string with the PPS's WK (What is a WK?)

private

Returns:
string The binary string

Definition at line 169 of file PPS.php.

Here is the call graph for this function:

Here is the caller graph for this function:

_savePpsSetPnt ( &$  pps_array)

Updates index and pointers to previous, next and children PPS's for this PPS. I don't think it'll work with Dir PPS's.

private

Parameters:
array&$pps_arrayReference to the array of PPS's for the whole OLE container
Returns:
integer The index for this PPS

Definition at line 204 of file PPS.php.

Here is the caller graph for this function:

OLE_PPS ( No,
name,
type,
prev,
next,
dir,
time_1st,
time_2nd,
data,
children 
)

The constructor

public

Parameters:
integer$NoThe PPS index
string$nameThe PPS name (in Unicode)
integer$typeThe PPS type. Dir, Root or File
integer$prevThe index of the previous PPS
integer$nextThe index of the next PPS
integer$dirThe index of it's first child if this is a Dir or Root PPS
integer$time_1stA timestamp
integer$time_2ndA timestamp
array$childrenArray containing children PPS for this PPS

Definition at line 121 of file PPS.php.

Here is the caller graph for this function:


Field Documentation

$_data

Definition at line 99 of file PPS.php.

$_StartBlock

Definition at line 87 of file PPS.php.

$children = array()

Definition at line 105 of file PPS.php.

$DirPps

Definition at line 69 of file PPS.php.

$Name

Definition at line 45 of file PPS.php.

$NextPps

Definition at line 63 of file PPS.php.

$No

Definition at line 39 of file PPS.php.

$PrevPps

Definition at line 57 of file PPS.php.

$Size

Definition at line 93 of file PPS.php.

$Time1st

Definition at line 75 of file PPS.php.

$Time2nd

Definition at line 81 of file PPS.php.

$Type

Definition at line 51 of file PPS.php.


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