예제 #1
0
 /**
  * Shift the first Page off of the PageArray and return it. 
  * 
  * @return Page|NULL
  * 
  */
 public function shift()
 {
     if ($this->numTotal) {
         $this->numTotal--;
     }
     return parent::shift();
 }
예제 #2
0
 public function shift()
 {
     $this->preload();
     return parent::shift();
 }