The COMPersistHelper class

(PHP 5, PHP 7)

简介

COMPersistHelper improves the interoperability of COM and PHP with regard to the php.ini directive open_basedir, and stream 资源(resource)s.

类摘要

final COMPersistHelper {
/* 方法 */
public __construct ([ variant $com_object = NULL ] )
public GetCurFileName ( ) : string
public GetMaxStreamSize ( ) : int
public InitNew ( ) : bool
public LoadFromFile ( string $path [, int $flags = 0 ] ) : bool
public LoadFromStream ( resource $stream ) : bool
public SaveToFile ([ string $filename = NULL [, bool $remember = TRUE ]] ) : bool
public SaveToStream ( resource $stream ) : bool
}

Table of Contents