class filedepotTagCloud in filedepot 6
Same name and namespace in other branches
- 7 nexcloud.class.php \filedepotTagCloud
Hierarchy
- class \nexcloud
- class \filedepotTagCloud
Expanded class hierarchy of filedepotTagCloud
File
- ./
nexcloud.class.php, line 523 - nexcloud.class.php Tag Cloud class for the fildepot module
View source
class filedepotTagCloud extends nexcloud {
function __construct() {
parent::__construct();
$this->_type = 'filedepot';
}
/* For each file in this folder with tagwords - update the metrics per access permission */
function update_accessmetrics($cid) {
$sql = "SELECT a.itemid FROM {nextag_items} a ";
$sql .= "LEFT JOIN {filedepot_files} b on b.fid = a.itemid ";
$sql .= "WHERE b.cid = %d";
$result = db_query($sql, $cid);
while ($A = db_fetch_array($result)) {
parent::update_accessmetrics($A['itemid']);
}
}
}