Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
HTMLPurifier_DefinitionCacheFactory
register
HTMLPurifier_DefinitionCacheFactory::register PHP Method
HTMLPurifier_DefinitionCacheFactory Class Documentation
显示文件
Open project: yiisoft/yii
register()
public
method
Registers a new definition cache object
public
register
(
string
$short
,
string
$long
)
$short
string
Short name of cache object, for reference
$long
string
Full class name of cache object, for construction
public function register($short, $long) { $this->implementations[$short] = $long; }
HTMLPurifier_DefinitionCacheFactory
addDecorator
create
instance
register
setup