Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Prado
Web
TAssetManager
hash
Prado\Web\TAssetManager::hash PHP Метод
Документация по классу TAssetManager
Показать файл
Открыть проект
hash()
защищенный
Метод
Generate a CRC32 hash for the directory path. Collisions are higher than MD5 but generates a much smaller hash string.
protected
hash
(
$dir
) :
string
Результат
string
hashed string.
protected function hash($dir) { return sprintf('%x', crc32($dir . Prado::getVersion())); }
TAssetManager
copyDirectory
copyFile
deployTarFile
getBasePath
getBaseUrl
getPublished
getPublishedPath
getPublishedUrl
hash
init
publishFilePath
publishTarFile
setBasePath
setBaseUrl
setPublished