Author: Claus Due (claus@namelesscoder.net)
Inheritance: extends TYPO3\CMS\Fluid\Core\ViewHelper\AbstractConditionViewHelper
Beispiel #1
0
 /**
  * Render method
  *
  * @return string
  */
 public function render()
 {
     parent::render();
     if (FALSE !== $this->evaluation) {
         return intval($this->evaluation);
     }
     return -1;
 }
 /**
  * Render method
  *
  * @return string
  */
 public function render()
 {
     parent::render();
     return $this->getNeedleAtIndex($this->evaluation !== FALSE ? $this->evaluation - 1 : -1);
 }