Example #1
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::SugarView();
     $this->options['show_header'] = false;
     $this->options['show_footer'] = false;
     $this->options['show_javascript'] = false;
 }
 public function __construct()
 {
     parent::SugarView();
     // this request vars check in controller
     $this->report_module = $_REQUEST['report_module'];
     $this->record = $_REQUEST['record'];
 }
Example #3
0
 function ViewMacro()
 {
     parent::SugarView();
     $this->connection = getZendeskConnection();
     $this->bean = new zd_Tickets();
     $this->bean->load_from_db($_REQUEST['record']);
 }
Example #4
0
 public function __construct()
 {
     if (isset($_REQUEST['as_frame']) and $_REQUEST['as_frame'] == "true") {
         $this->options = array('show_header' => true, 'show_title' => false, 'show_subpanels' => false, 'show_search' => false, 'show_footer' => false, 'show_javascript' => true, 'view_print' => true);
         $this->showTitle = false;
     }
     parent::SugarView();
 }
 function ViewEditFormula()
 {
     $this->options['show_footer'] = false;
     if (isset($_REQUEST['embed']) && $_REQUEST['embed']) {
         $this->options['show_header'] = false;
     }
     parent::SugarView();
 }
Example #6
0
 public function __construct($bean = null, $view_object_map = array())
 {
     parent::SugarView($bean, $view_object_map);
     $this->medataDataFile = $this->fileName;
     if (file_exists("custom/{$this->fileName}")) {
         $this->medataDataFile = "custom/{$this->fileName}";
     }
 }
Example #7
0
 function xeBayOrdersViewAutomessage()
 {
     date_default_timezone_set("America/Los_Angeles");
     set_time_limit(60 * 30);
     $bean = BeanFactory::getBean('xeBayAccounts');
     $this->accounts = $bean->get_accounts();
     parent::SugarView();
 }
Example #8
0
 function ViewSugarpdf()
 {
     parent::SugarView();
     if (isset($_REQUEST["sugarpdf"])) {
         $this->sugarpdf = $_REQUEST["sugarpdf"];
     } else {
         header('Location:index.php?module=' . $_REQUEST['module'] . '&action=DetailView&record=' . $_REQUEST['record']);
     }
 }
Example #9
0
 /**
  * Constructor
  *
  * @see SugarView::SugarView()
  */
 public function ViewAjax()
 {
     $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::SugarView();
 }
Example #10
0
 function __construct()
 {
     parent::SugarView();
     global $current_user;
     if (!$current_user->isDeveloperForModule("Leads")) {
         die("Unauthorized Access to Administration");
     }
     $this->jsonHelper = getJSONobj();
     $this->parser = new ConvertLayoutMetadataParser("Contacts");
     if (isset($_REQUEST['updateConvertDef']) && $_REQUEST['updateConvertDef'] && !empty($_REQUEST['data'])) {
         $this->parser->updateConvertDef(object_to_array_recursive($this->jsonHelper->decode(html_entity_decode_utf8($_REQUEST['data']))));
         // clear the cache for this module only
         MetaDataManager::refreshModulesCache(array('Leads'));
     }
 }
 function reg_invoicesViewAjaxmain()
 {
     $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::SugarView();
     $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;
 }
Example #12
0
 function ViewAssociated()
 {
     parent::SugarView();
     $zendesk_helper = new ZendeskHelper();
     $this->focus = new $_REQUEST['focus']();
     $this->focus = $this->focus->retrieve($_REQUEST['rec']);
     $this->per_page = $zendesk_helper->getConfigValue('per_page', 6);
     $this->sort = $zendesk_helper->getConfigValue('sort', '1') == 1 ? 'desc' : 'asc';
     $this->order_by = $zendesk_helper->getConfigValue('order_by', 'priority');
     $this->status_filter = $zendesk_helper->getConfigValue('status_filter', 'any');
     $this->priority_filter = $zendesk_helper->getConfigValue('priority_filter', 'lsolved');
     $this->type_filter = $zendesk_helper->getConfigValue('type_filter', 'any');
     if ($_REQUEST['page']) {
         $this->page = $_REQUEST['page'];
     }
     if ($_REQUEST['sort']) {
         $this->sort = $_REQUEST['sort'];
     }
     if ($_REQUEST['order_by']) {
         $this->order_by = $_REQUEST['order_by'];
     }
     if ($_REQUEST['status_filter']) {
         $this->status_filter = $_REQUEST['status_filter'];
     }
     if ($_REQUEST['priority_filter']) {
         $this->priority_filter = $_REQUEST['priority_filter'];
     }
     if ($_REQUEST['type_filter']) {
         $this->type_filter = $_REQUEST['type_filter'];
     }
     $this->error_message = null;
     try {
         $this->connection = getZendeskConnection();
     } catch (Exception $e) {
         $this->error_message = $e->getMessage();
     }
 }
Example #13
0
 function Viewexport2word()
 {
     parent::SugarView();
 }
Example #14
0
 function ViewMultiedit()
 {
     parent::SugarView();
 }
 function ViewSidequickcreate()
 {
     parent::SugarView();
 }
Example #16
0
 function Jjwg_MapsViewMap_Display()
 {
     parent::SugarView();
 }
Example #17
0
 function CampaignsViewClassic()
 {
     parent::SugarView();
     $this->type = $this->action;
 }
Example #18
0
 /**
  * Constructor
  */
 public function FontManager()
 {
     parent::SugarView();
 }
Example #19
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::SugarView();
 }
 function ViewLoadAreaByDepartment()
 {
     parent::SugarView();
 }
Example #21
0
 function xeBayMessagesViewReply()
 {
     parent::SugarView();
 }
Example #22
0
 function ViewEdit()
 {
     parent::SugarView();
 }
Example #23
0
 function ViewNoaccess()
 {
     parent::SugarView();
 }
Example #24
0
 /**
  * Constructor
  */
 public function AddFontResult()
 {
     parent::SugarView();
 }
Example #25
0
 function ViewPopup()
 {
     parent::SugarView();
 }
Example #26
0
 function ViewMain()
 {
     $this->options['show_footer'] = false;
     parent::SugarView();
 }
Example #27
0
 function ViewModulelabels()
 {
     parent::SugarView();
 }
Example #28
0
 function ViewList()
 {
     parent::SugarView();
 }
Example #29
0
 function CalendarViewSettings()
 {
     parent::SugarView();
 }
Example #30
0
 function ViewXML()
 {
     parent::SugarView();
 }