Php/docs/class.compersisthelper
来自菜鸟教程
(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|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
}
Table of Contents
- COMPersistHelper::__construct — Construct a COMPersistHelper object
- COMPersistHelper::GetCurFileName — Get current filename
- COMPersistHelper::GetMaxStreamSize — Get maximum stream size
- COMPersistHelper::InitNew — Initialize object to default state
- COMPersistHelper::LoadFromFile — Load object from file
- COMPersistHelper::LoadFromStream — Load object from stream
- COMPersistHelper::SaveToFile — Save object to file
- COMPersistHelper::SaveToStream — Save object to stream
/* 方法 */