getTotal() public méthode

Returns total number of records.
public getTotal ( ) : integer
Résultat integer
Exemple #1
0
 /**
  * Sets result.
  *
  * @param Api\Result $result Result.
  *
  * @return void
  */
 protected function setResult(Api\Result $result)
 {
     $this->total = $result->getTotal();
     $this->offset = 0;
     $this->max = $result->getIssuesCount();
     $this->issues = $result->getIssues();
     $this->startAt++;
 }