Exemplo n.º 1
0
 public function testGetAnchorsAbove()
 {
     $this->_model->load(4);
     $this->assertContains(3, $this->_model->getAnchorsAbove());
     $this->_model->load(5);
     $this->assertContains(4, $this->_model->getAnchorsAbove());
 }
Exemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function getAnchorsAbove()
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getAnchorsAbove');
     if (!$pluginInfo) {
         return parent::getAnchorsAbove();
     } else {
         return $this->___callPlugins('getAnchorsAbove', func_get_args(), $pluginInfo);
     }
 }