Пример #1
0
 public function getImgUrlById($id, $thumb = true, $isConflict = false)
 {
     $id = (int) $id;
     if ($isConflict) {
         $id = array_key_exists($id, $this->_conflictsMap) ? $this->_conflictsMap[$id] : $id;
     }
     return parent::getImgUrlById($id, $thumb);
 }
Пример #2
0
 public function getImgUrlById($id, $thumb = true)
 {
     return $id !== self::STATS_ABILITY_ID ? parent::getImgUrlById($id, $thumb) : 'images/stats.png';
 }