public getDownloadCount ( ) : integer | ||
return | integer |
public function getDownloadCount()
{
$count = 0;
foreach ($this->statistics as $stat) {
$count += $stat->getDownload();
}
return $count;
}