Php/docs/class.compersisthelper

提供:Dev Guides
< Php
移動先:案内検索

(PHP 5, PHP 7)

はじめに

COMPersistHelper クラスは、 php.iniopen_basedir ディレクティブと ストリーム リソース を考慮して COM と PHP の相互運用性を高めます。


クラス概要


final COMPersistHelper {

/* メソッド */

public __construct ([ variant|null $variant ] )

public GetCurFileName ( ) : string|false

public GetMaxStreamSize ( ) : int

public InitNew ( ) : bool

public LoadFromFile ( string $filename [, int $flags = 0 ] ) : bool

public LoadFromStream ( resource $stream ) : bool

public SaveToFile ( string|null $filename [, bool $remember = true ] ) : bool

public SaveToStream ( resource $stream ) : bool

}

目次