Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
CacheBuster
getJoiner
CacheBuster::getJoiner PHP Метод
Документация по классу CacheBuster
Показать файл
Открыть проект
getJoiner()
защищенный
Метод
Determine the joiner required to append the cache busting string. This checks if the URL contains query string params and returns the appropriate joiner.
protected
getJoiner
(
string
$url
= '' ) :
string
$url
string
The URL to check.
Результат
string
The joiner char (either '?' or '&')
protected function getJoiner($url = '') { return preg_match('/\\?/', $url) ? '&' : '?'; }
CacheBuster
createUrl
getJoiner