You are here

function WordCount::__construct in GlobalLink Connect for Drupal 7.7

File

gl_ws/glc/model/WordCount.inc.php, line 9

Class

WordCount

Code

function __construct($_golden, $_exact_100, $_repetitions, $_nomatch, $_total) {
  $this->golden = $_golden;
  $this->exact_100 = $_exact_100;
  $this->fuzzy = $_total - $_golden - $_exact_100 - $_repetitions - $_nomatch;
  $this->repetitions = $_repetitions;
  $this->nomatch = $_nomatch;
  $this->total = $_total;
}