function nexcloud::__construct in filedepot 7
Same name and namespace in other branches
- 6 nexcloud.class.php \nexcloud::__construct()
1 call to nexcloud::__construct()
1 method overrides nexcloud::__construct()
File
- ./
nexcloud.class.php, line 24 - nexcloud.class.php Tag Cloud class for the filedepot module
Class
- nexcloud
- @file nexcloud.class.php Tag Cloud class for the filedepot module
Code
function __construct() {
global $user;
if (db_query("SELECT COUNT(id) FROM {nextag_words}")
->fetchField() < 30) {
$this->_fontmultiplier = 100;
}
if ($user->uid > 0) {
$this->_uid = $user->uid;
}
else {
$this->_uid = 0;
}
}