CakeFest 2024: The Official CakePHP Conference

XSLTProcessor::setSecurityPrefs

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

XSLTProcessor::setSecurityPrefsDefine preferências de segurança

Descrição

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

Define as preferências de segurança.

Parâmetros

preferences

As novas preferências de segurança. As constantes seguidas podem ser unidas pela operação binária OR: XSL_SECPREF_READ_FILE, XSL_SECPREF_WRITE_FILE, XSL_SECPREF_CREATE_DIRECTORY, XSL_SECPREF_READ_NETWORK e XSL_SECPREF_WRITE_NETWORK. Alternativamente, XSL_SECPREF_NONE ou XSL_SECPREF_DEFAULT podem ser passadas.

Valor Retornado

Retorna as preferências de segurança antigas..

add a note

User Contributed Notes

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