original_string: public function view($renderer, $saveHandler = 'save')
      {
          // TODO: Context rewriting if in one chain!
          $fieldView = $this->viewField($renderer);
          return $renderer->view($this->defaultView)
              ->set($this->cssClass, 'cssClass')
              ->set($this->value(), 'value')
              ->set(url_build(preg_replace('/(_\d+)/', '', $renderer->id()), $saveHandler), 'action')
              ->set($this->entity, 'entity')
              ->set($this->param, 'param')
              ->set($this->dbObject->id, 'objectId')
              ->set($renderer->id(), 'applicationId')
              ->set($fieldView, 'fieldView')
              ->output();
      }
code: public function view($renderer, $saveHandler = 'save')
      {
          // TODO: Context rewriting if in one chain!
          $fieldView = $this->viewField($renderer);
          return $renderer->view($this->defaultView)
              ->set($this->cssClass, 'cssClass')
              ->set($this->value(), 'value')
              ->set(url_build(preg_replace('/(_\d+)/', '', $renderer->id()), $saveHandler), 'action')
              ->set($this->entity, 'entity')
              ->set($this->param, 'param')
              ->set($this->dbObject->id, 'objectId')
              ->set($renderer->id(), 'applicationId')
              ->set($fieldView, 'fieldView')
              ->output();
      }
code_tokens: public function view ( $ renderer , $ saveHandler = 'save' ) { // TODO: Context rewriting if in one chain! $ fieldView = $ this -> viewField ( $ renderer ) ; return $ renderer -> view ( $ this -> defaultView ) -> set ( $ this -> cssClass , 'cssClass' ) -> set ( $ this -> value ( ) , 'value' ) -> set ( url_build ( preg_replace ( '/(_\d+)/' , '' , $ renderer -> id ( ) ) , $ saveHandler ) , 'action' ) -> set ( $ this -> entity , 'entity' ) -> set ( $ this -> param , 'param' ) -> set ( $ this -> dbObject -> id , 'objectId' ) -> set ( $ renderer -> id ( ) , 'applicationId' ) -> set ( $ fieldView , 'fieldView' ) -> output ( ) ; }
docstring: Function to render class
  
  @param Application $renderer Renderer object
  @param string $saveHandler Save controller name
  @return string HTML string
docstring_tokens: Function to render class