cjp2600/composite.shape
最新稳定版本:0.0.1
Composer 安装命令:
composer require cjp2600/composite.shape
包简介
composite emulator component
关键字:
README 文档
README
#Composite shape#
Компонент - оболочка для элементов сайта с высокой нагрузкой для CMS Bitrix.
#Установка через Composer##
В своем Bitrix проекте в файле composer.json необходимо прописать:
{
"extra": {
"installer-paths": {
"local/components/{$vendor}/{$name}/": [
"type:bitrix-component"
]
}
},
"require": {
"cjp2600/composite.shape": ">=0.0.1"
}
}
Указать путь к папке компонентов, и ссылку на репозиторий
##Example:##
$APPLICATION->IncludeComponent( '8il:composite.shape', '', array( "ID" => "UniqueShapeComponentID", # ID -shape (Required, unique parameter) "CACHE_TIME" => 604800, # Time caching (not required) "USE_PRELOADER" => false, # Use preloader (true / false) (Optional - default false) "PRELOADER_IMG" => " ... ", # The path of a custom preloader for (the default one that is in the images) "CACHE_TAG" => array("Pro") # The tag for the cache. "CALL_FUNCTION" => function() { echo time(); sleep(3); } ), # The anonymous function (body -shape) null, array( 'HIDE_ICONS' => 'Y' ) );
##Clear cache example:##
\CBitrixComponent::includeComponentClass("8il:composite.shape"); if (class_exists('CCompositeShapeClass')) { \CCompositeShapeClass::clearCacheById($cacheId); }
统计信息
- 总下载量: 81
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-10-27