You are here

function TagadelicTag::__construct in Tagadelic 8.3

Initalize this tag

Parameters

id Integer the identifier of this tag:

name String a human readable name describing this tag:

File

src/TagadelicTag.php, line 19

Class

TagadelicTag

Namespace

Drupal\tagadelic

Code

function __construct($id, $name, $count) {
  $this->id = $id;
  $this->name = $name;
  if ($count != 0) {
    $this->count = $count;
  }
}