/** * Render the property's opening tag (and the entity wrapper if we're in * standalone mode) * * {@inheritDoc} * * @api */ public function renderStart($tag_name = false) { $output = ''; if (!$this->_parent->isRendering()) { $output .= $this->_parent->renderStart(); $this->_render_standalone = true; } return $output . parent::renderStart($tag_name); }
/** * {@inheritDoc} * * @api */ public function renderStart($tag_name = false) { // render this for admin users only if (!$this->_parent->isEditable()) { $this->unsetAttribute('about'); } if (empty($this->_attributes['rev'])) { $this->getRev(); // trigger determining the rev attribute } return parent::renderStart($tag_name); }