Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
FOF30
Platform
PlatformInterface
setHeader
FOF30\Platform\PlatformInterface::setHeader PHP Méthode
PlatformInterface Interface Documentation
Afficher le fichier
Open project: akeeba/fof
setHeader()
public
méthode
Method to set a response header. If the replace flag is set then all headers with the given name will be replaced by the new one (only if the current platform supports header caching)
public
setHeader
(
string
$name
,
string
$value
,
boolean
$replace
= false ) :
void
$name
string
The name of the header to set.
$value
string
The value of the header to set.
$replace
boolean
True to replace any headers with the same name.
Résultat
void
public function setHeader($name, $value, $replace = false);
PlatformInterface
URIbase
URIroot
__construct
authorise
authorizeAdmin
checkExecution
clearCache
closeApplication
getCache
getComponentBaseDirs
getConfig
getDate
getDbo
getDocument
getLanguage
getPlatformBaseDirs
getPlatformVersion
getTemplate
getTemplateOverridePath
getTemplateSuffixes
getUser
getUserStateFromRequest
importPlugin
isBackend
isCli
isFrontend
isGlobalFOFCacheEnabled
loadTranslations
logAddLogger
logDebug
logDeprecated
loginUser
logoutUser
raiseError
runPlugins
sendHeaders
setCache
setHeader
supportsAjaxOrdering