. */ require_once('CF7DBPlugin.php'); require_once('CFDBView.php'); require_once('CFDBShortCodeContentParser.php'); class CFDBViewShortCodeBuilder extends CFDBView { /** * @var CF7DBPlugin */ var $plugin; /** * @var array */ var $requestParams; /** * @var String URL */ var $infoImg; /** * @var String URL */ var $siteUrl; /** * @param $plugin CF7DBPlugin * @return void */ function display(&$plugin) { $this->plugin = $plugin == null ? $plugin : new CF7DBPlugin; $this->requestParams = $this->gatherRequestParams(); $this->pageHeader($this->plugin); $this->siteUrl = get_option('home'); $this->infoImg = $this->plugin->getPluginFileUrl('/img/info.jpg'); $this->outputJavascript(); $this->outputCSS(); $this->outputSectionHeader(); $this->outputTabLayout(); } public function outputSectionHeader() { ?>