CakeFest 2024: The Official CakePHP Conference

COMPersistHelper::GetCurFileName

(PHP 5, PHP 7, PHP 8)

COMPersistHelper::GetCurFileName現在のファイル名を取得する

説明

public COMPersistHelper::GetCurFileName(): string|false

オブジェクトに関連付けられた現在のファイル名を取得します。

パラメータ

この関数にはパラメータはありません。

戻り値

オブジェクトに関連付けられた現在のファイル名を返します。

エラー / 例外

関連付けられたオブジェクトが COM のインターフェイス IPersistFile を実装していないか、 IPersistFile::GetCurFile() の呼び出しに失敗した場合、 com_exception がスローされます。

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top