OLE
[ class tree: OLE ] [ index: OLE ] [ all elements ]

Class: OLE_PPS_File

Source Location: /OLE-1.0.0RC2/OLE/PPS/File.php

Class Overview

PEAR
   |
   --OLE_PPS
      |
      --OLE_PPS_File

Class for creating File PPS's for OLE containers


Author(s):

Methods


Inherited Variables

Inherited Methods

Class: OLE_PPS

OLE_PPS::OLE_PPS()
The constructor

Class Details

[line 33]
Class for creating File PPS's for OLE containers


[ Top ]


Method Detail

OLE_PPS_File (Constructor)   [line 48]

OLE_PPS_File OLE_PPS_File( string $name)

The constructor

Parameters:

string   $name   —  The name of the file (in Unicode)

[ Top ]

append   [line 107]

void append( string $data)

Append data to PPS
  • Access: public

Parameters:

string   $data   —  The data to append

[ Top ]

getStream   [line 120]

resource getStream( )

Returns a stream for reading this file using fread() etc.
  • Return: a read-only stream

[ Top ]

init   [line 86]

mixed init( )

Initialization method. Has to be called right after OLE_PPS_File().
  • Return: true on success. PEAR_Error on failure
  • Access: public

[ Top ]

setTempDir   [line 71]

true setTempDir( string $dir)

Sets the temp dir used for storing the OLE file
  • Return: if given dir is valid, false otherwise
  • Access: public

Parameters:

string   $dir   —  The dir to be used as temp dir

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:47:10 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.