/** * Answer the markup for this plugin * * @param optional boolean $showControls * @param optional boolean $extended If true, return the extended version. Default: false. * @return string * @access public * @since 1/20/06 */ public final function executeAndGetMarkup($showControls = false, $extended = false) { return parent::executeAndGetMarkup($showControls, $extended); }
/** * Answer the markup for this plugin * * @param optional boolean $showControls * @param optional boolean $extended If true, return the extended version. Default: false. * @return string * @access public * @since 1/20/06 */ public final function executeAndGetMarkup($showControls = false, $extended = false) { $this->_isExtended = $extended; $markup = parent::executeAndGetMarkup($showControls, $extended); $this->writeAjaxLib(); ob_start(); print "\n<div id='plugin:" . $this->getId() . "'>\n"; print $markup; print "\n</div>"; return ob_get_clean(); }