Exemplo n.º 1
0
 function ApplyCache(CACHE &$cache, $flags = 0)
 {
     if ($flags & INTERVAL::NEED_AMOUNT || $this->end_mode || $this->all_mode) {
         if ($flags & INTERVAL::NEED_AMOUNT) {
             $info = $cache->GetInfo(REQUEST::NEED_COUNT);
             $this->Apply($info['first'], $info['last'], $info['records']);
         } else {
             $info = $cache->GetInfo();
             $this->Apply($info['first'], $info['last']);
         }
     } else {
         $this->UpdateWindow();
     }
 }