Example #1
0
 public function GetBanListIp(&$iCount, $iCurrPage, $iPerPage)
 {
     $sCacheKey = 'adm_banlist_ip_' . $iCurrPage . '_' . $iPerPage;
     if (false === ($data = $this->Cache_Get($sCacheKey))) {
         $data = array('collection' => $this->oMapper->GetBanListIp($iCount, $iCurrPage, $iPerPage), 'count' => $iCount);
         $this->Cache_Set($data, $sCacheKey, array('adm_banlist_ip'), 60 * 15);
     }
     return $data;
 }