本文整理汇总了PHP中SugarView::SugarView方法的典型用法代码示例。如果您正苦于以下问题:PHP SugarView::SugarView方法的具体用法?PHP SugarView::SugarView怎么用?PHP SugarView::SugarView使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类SugarView
的用法示例。
在下文中一共展示了SugarView::SugarView方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
/**
* Constructor.
*/
public function __construct()
{
parent::SugarView();
$this->options['show_header'] = false;
$this->options['show_footer'] = false;
$this->options['show_javascript'] = false;
}
示例2: __construct
public function __construct()
{
parent::SugarView();
// this request vars check in controller
$this->report_module = $_REQUEST['report_module'];
$this->record = $_REQUEST['record'];
}
示例3: ViewMacro
function ViewMacro()
{
parent::SugarView();
$this->connection = getZendeskConnection();
$this->bean = new zd_Tickets();
$this->bean->load_from_db($_REQUEST['record']);
}
示例4: __construct
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();
}
示例5: ViewEditFormula
function ViewEditFormula()
{
$this->options['show_footer'] = false;
if (isset($_REQUEST['embed']) && $_REQUEST['embed']) {
$this->options['show_header'] = false;
}
parent::SugarView();
}
示例6: __construct
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}";
}
}
示例7: xeBayOrdersViewAutomessage
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();
}
示例8: ViewSugarpdf
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']);
}
}
示例9: ViewAjax
/**
* 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();
}
示例10: die
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'));
}
}
示例11:
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;
}
示例12: ViewAssociated
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();
}
}
示例13:
function Viewexport2word()
{
parent::SugarView();
}
示例14: ViewMultiedit
function ViewMultiedit()
{
parent::SugarView();
}
示例15: ViewSidequickcreate
function ViewSidequickcreate()
{
parent::SugarView();
}