src/Form/View/Helper/FormRow.php
protected function getStaticElementHelper()
    {
        if ($this->staticElementHelper) {
            return $this->staticElementHelper;
        }

        $renderer = $this->getView();
        if (method_exists($this->view, 'plugin')) {
            $this->staticElementHelper = $renderer->plugin($this->defaultStaticElementHelper);
        }

        if (!$this->staticElementHelper instanceof FormStatic) {
            $this->staticElementHelper = new FormStatic();
            $this->staticElementHelper->setView($renderer);
        }

        return $this->staticElementHelper;
    }
protected function getStaticElementHelper()
    {
        if ($this->staticElementHelper) {
            return $this->staticElementHelper;
        }

        $renderer = $this->getView();
        if (method_exists($this->view, 'plugin')) {
            $this->staticElementHelper = $renderer->plugin($this->defaultStaticElementHelper);
        }

        if (!$this->staticElementHelper instanceof FormStatic) {
            $this->staticElementHelper = new FormStatic();
            $this->staticElementHelper->setView($renderer);
        }

        return $this->staticElementHelper;
    }
protected function getStaticElementHelper ( ) { if ( $ this -> staticElementHelper ) { return $ this -> staticElementHelper ; } $ renderer = $ this -> getView ( ) ; if ( method_exists ( $ this -> view , 'plugin' ) ) { $ this -> staticElementHelper = $ renderer -> plugin ( $ this -> defaultStaticElementHelper ) ; } if ( ! $ this -> staticElementHelper instanceof FormStatic ) { $ this -> staticElementHelper = new FormStatic ( ) ; $ this -> staticElementHelper -> setView ( $ renderer ) ; } return $ this -> staticElementHelper ; }
Retrieve the FormStatic helper

@return FormStatic
Retrieve the FormStatic helper