heimrichhannot/contao-watchlist
最新稳定版本:2.1.2
Composer 安装命令:
composer require heimrichhannot/contao-watchlist
包简介
A contao watchlist, for download elements.
README 文档
README
A contao watchlist, for download elements.
Features
- use single or multiple watchlist
- generate link to watchlist (durability 30 days)
- define durability of the watchlist
- users of the same group can use same watchlist
- download watchlist items and watchlist
Installation
Install via composer
composer require heimrichhannot/contao-watchlist
Afterwards call the Contao install procedure to update the database.
Add Item Button
$template->addWatchlist = Watchlist::getAddAction($array, $uuid, $multiple);
$array = [
'name' => 'name of the item',
'type' => 'type of the item (e.g. download)',
'id' => 'id of the item'
];
- $uuid is the uuid of the \Contao\FileModel
- $multiple is true or false for the usage of the single or multiple watchlist
统计信息
- 总下载量: 136
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0
- 更新时间: 2015-04-07