The COMPersistHelper class

Introduction

COMPersistHelper improves the interoperability of COM and PHP with regard to the php.ini directive open_basedir, and stream resources.

Class synopsis

final COMPersistHelper
/* Methods */
public __construct(variantnull $variant = null)
public stringfalse GetCurFileName()
public int GetMaxStreamSize()
public bool InitNew()
public bool LoadFromFile(string $filename, int $flags = 0)
public bool LoadFromStream(resource $stream)
public bool SaveToFile(stringnull $filename, bool $remember = true)
public bool SaveToStream(resource $stream)
Table of Contents