Lines Matching defs:lang
53 $lang = '';
55 $lang = $translation->getLangPart($page);
60 $sql = "INSERT OR REPLACE INTO toppages (page, value, lang, month)
62 $res = $this->sqlite->query($sql, $page, $page, $month, $lang, $month);
69 * @param string|null $lang
74 public function best($lang, $month, $num = 10)
78 if ($lang === null && $month === null){
81 } elseif ($lang !== null && $month === null) {
82 $sql = $sqlbegin . "WHERE lang = ? " . $sqlend;
83 $res = $this->sqlite->query($sql, $lang, $num);
84 } elseif ($lang === null && $month !== null){
88 $sql = $sqlbegin . "WHERE lang = ? AND month >= ? " . $sqlend;
89 $res = $this->sqlite->query($sql, $lang, intval($month), $num);