« variant::__construct
COMPersistHelper::__construct »

COMPersistHelper クラス

(PHP 5, PHP 7, PHP 8)

はじめに

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

クラス概要

final class COMPersistHelper {
/* メソッド */
public function __construct(?variant $variant = null)
public function GetCurFileName(): string|false
public function GetMaxStreamSize(): int
public function InitNew(): bool
public function LoadFromFile(string $filename, int $flags = 0): bool
public function LoadFromStream(resource $stream): bool
public function SaveToFile(?string $filename, bool $remember = true): bool
public function SaveToStream(resource $stream): bool
}

目次

関連キーワード:
COMPersistHelper   construct   ストリーム   variant   resource   GetCurFileName   GetMaxStreamSize   InitNew   LoadFromFile   filename   LoadFromStream   stream   SaveToFile   SaveToStream   basedir   ディレクティブ   考慮   相互   運用   概要   final   flags   remember   目次   構築
関連する関数・ページ:
compersisthelper.construct   compersisthelper.loadfromstream   compersisthelper.getcurfilename   compersisthelper.getmaxstreamsize   compersisthelper.savetostream   compersisthelper.loadfromfile