Lines Matching refs:authors
106 function _getMonthlyContrib($authors, $yearmonth) argument
109 foreach ($authors as $author) {
123 $authors = $data["authors"];
124 if (!$authors) return $this->getLang("no-stats");
133 … array_push($totalpm, $this->_getMonthlyContrib($authors, date("Ym", strtotime("-$i months"))));
187 $authors = $this->helpers->readJSON();
188 $authors = $authors["authors"];
189 if (!$authors) return $this->getLang("no-stats");
190 uasort($authors, array($this, "_sortByContrib"));
191 foreach ($authors as $name => $author) {
219 $authors = $this->helpers->readJSON();
220 $authors = $authors["authors"];
221 if (!$authors) return $this->getLang("no-stats");
222 foreach ($authors as $name => $author) {
223 $authors[$name]["lmc"] = $this->_getLastMonthsContrib($author, $months);
225 uasort($authors, array($this, "_sortByLastMonthsContrib"));
226 foreach ($authors as $name => $author) {
227 if ($authors[$name]["lmc"] > 0) {
232 strval($authors[$name]["lmc"]) . "</td></tr>";