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

Public Member Functions

 OLE_PPS_File ($name)
 setTempDir ($dir)
 init ()
 append ($data)

Data Fields

 $_tmp_dir

Detailed Description

Definition at line 32 of file File.php.


Member Function Documentation

append ( data)

Append data to PPS

public

Parameters:
string$dataThe data to append

Definition at line 104 of file File.php.

init ( )

Initialization method. Has to be called right after OLE_PPS_File().

public

Returns:
mixed true on success. PEAR_Error on failure

Definition at line 85 of file File.php.

Here is the call graph for this function:

OLE_PPS_File ( name)

The constructor

public

Parameters:
string$nameThe name of the file (in Unicode)
See also:
OLE::Asc2Ucs()

Definition at line 47 of file File.php.

Here is the call graph for this function:

setTempDir ( dir)

Sets the temp dir used for storing the OLE file

public

Parameters:
string$dirThe dir to be used as temp dir
Returns:
true if given dir is valid, false otherwise

Definition at line 70 of file File.php.


Field Documentation

$_tmp_dir

Definition at line 38 of file File.php.


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