XSLTProcessor::setSecurityPrefs

(PHP >= 5.4.0, PHP 7, PHP 8)

XSLTProcessor::setSecurityPrefs — セキュリティ設定を指定する

説明

public function XSLTProcessor::setSecurityPrefs(int $preferences): int

セキュリティ設定を指定します。

パラメータ

preferences

新しいセキュリティ設定。以下の定数を OR で指定できます。 XSL_SECPREF_READ_FILE、 XSL_SECPREF_WRITE_FILE、 XSL_SECPREF_CREATE_DIRECTORY、 XSL_SECPREF_READ_NETWORK、 XSL_SECPREF_WRITE_NETWORK。あるいは XSL_SECPREF_NONE や XSL_SECPREF_DEFAULT を渡すこともできます。

戻り値

元のセキュリティ設定を返します。

+add a note

User Contributed Notes

There are no user contributed notes for this page.