Ejemplo n.º 1
0
 function execute($par)
 {
     $inc = $this->including();
     if ($inc) {
         $this->limit = (int) $par;
         $this->offset = 0;
     }
     $this->setListoutput($inc);
     $this->shownavigation = !$inc;
     parent::execute($par);
 }
Ejemplo n.º 2
0
 function execute($par)
 {
     $inc = $this->including();
     if ($inc) {
         $parts = explode('/', $par, 2);
         $this->limit = (int) $parts[0];
         // @todo FIXME: nlinks is ignored
         //$nlinks = isset( $parts[1] ) && $parts[1] === 'nlinks';
         $this->offset = 0;
     } else {
         //$nlinks = true;
     }
     $this->setListoutput($inc);
     $this->shownavigation = !$inc;
     parent::execute($par);
 }