You are here

function nexcloud::__construct in filedepot 6

Same name and namespace in other branches
  1. 7 nexcloud.class.php \nexcloud::__construct()
1 call to nexcloud::__construct()
filedepotTagCloud::__construct in ./nexcloud.class.php
1 method overrides nexcloud::__construct()
filedepotTagCloud::__construct in ./nexcloud.class.php

File

./nexcloud.class.php, line 22
nexcloud.class.php Tag Cloud class for the fildepot module

Class

nexcloud
@file nexcloud.class.php Tag Cloud class for the fildepot module

Code

function __construct() {
  global $user;
  if (db_result(db_query("SELECT COUNT(id) FROM {nextag_words}")) < 30) {
    $this->_fontmultiplier = 100;
  }
  if ($user->uid > 0) {
    $this->_uid = $user->uid;
  }
  else {
    $this->_uid = 0;
  }
}