Beispiel #1
0
 /**
  * Constructor
  *
  * @see SidecarView::SidecarView()
  */
 public function __construct($bean = null, $view_object_map = array())
 {
     $this->options['show_title'] = false;
     $this->options['show_header'] = false;
     $this->options['show_footer'] = false;
     $this->options['show_javascript'] = false;
     $this->options['show_subpanels'] = false;
     $this->options['show_search'] = false;
     parent::__construct($bean = null, $view_object_map = array());
 }
 public function display()
 {
     if ($this->dataOnly) {
         $this->ss->assign("siteUrl", $GLOBALS['sugar_config']['site_url']);
         $template = $this->getAuthenticateTemplate();
         $this->ss->display($template);
     } else {
         parent::display();
     }
 }