当前位置: 首页>>代码示例>>PHP>>正文


PHP erLhcoreClassInstance::getInstance方法代码示例

本文整理汇总了PHP中erLhcoreClassInstance::getInstance方法的典型用法代码示例。如果您正苦于以下问题:PHP erLhcoreClassInstance::getInstance方法的具体用法?PHP erLhcoreClassInstance::getInstance怎么用?PHP erLhcoreClassInstance::getInstance使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在erLhcoreClassInstance的用法示例。


在下文中一共展示了erLhcoreClassInstance::getInstance方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __get

 public function __get($var)
 {
     switch ($var) {
         case 'amount_front':
             $this->amount_front = round($this->amount / 100, 2);
             return $this->amount_front;
             break;
         case 'price_front':
             $this->price_front = $this->amount_front . ' ' . $this->currency;
             return $this->price_front;
             break;
         case 'json_data':
             $this->json_data = json_decode($this->log, true);
             return $this->json_data;
             break;
         case 'option_selection1':
             $this->option_selection1 = isset($this->json_data['option_selection1']) ? $this->json_data['option_selection1'] : '-';
             return $this->option_selection1;
             break;
         case 'date_front':
             $this->date_front = date('Y-m-d H:i:s', $this->odate);
             return $this->date_front;
             break;
         case 'instance':
             try {
                 $this->instance = erLhcoreClassInstance::getInstance();
             } catch (Exception $e) {
                 $this->instance = false;
             }
             return $this->instance;
             break;
         case 'customer_name':
             if ($this->instance !== false && $this->instance->client_title != '') {
                 $this->customer_name = $this->instance->client_title;
                 return $this->customer_name;
             } else {
                 $this->customer_name = isset($this->json_data['payer_email']) ? $this->json_data['payer_email'] : '';
                 if (isset($this->json_data['first_name'])) {
                     $this->customer_name .= "<br/>" . $this->json_data['first_name'] . ' ' . $this->json_data['last_name'];
                 }
                 return $this->customer_name;
             }
             break;
         default:
             break;
     }
 }
开发者ID:alisadali,项目名称:automated-hosting,代码行数:47,代码来源:erlhcoreclassmodelinstanceinvoice.php

示例2:

<?php

$xmppservice_tab_enabled_pre = erLhcoreClassInstance::getInstance()->full_xmpp_chat_supported == 1;
开发者ID:hgeorge123,项目名称:automated-hosting,代码行数:3,代码来源:xmppservice_tab_enabled_pre.tpl.php

示例3:

<?php

$parts_top_menu_chat_actions_enabled = erLhcoreClassInstance::getInstance()->chat_supported == 1;
开发者ID:alisadali,项目名称:automated-hosting,代码行数:3,代码来源:top_menu_chat_actions_pre.tpl.php

示例4:

<?php

$speech_action_enabled = erLhcoreClassInstance::getInstance()->speech_supported == 1;
开发者ID:alisadali,项目名称:automated-hosting,代码行数:3,代码来源:speech_action_pre.tpl.php

示例5:

<?php

$chat_chat_tabs_footprint_tab_tab_enabled = erLhcoreClassInstance::getInstance()->footprint_supported == 1;
开发者ID:alisadali,项目名称:automated-hosting,代码行数:3,代码来源:footprint_tab_tab_pre.tpl.php

示例6:

<?php

$operator_remarks_enabled = erLhcoreClassInstance::getInstance()->chatremarks_supported == 1;
开发者ID:alisadali,项目名称:automated-hosting,代码行数:3,代码来源:operator_remarks_pre.tpl.php

示例7: LHCCoBrowserOperator

var lhcbrowserOpeator = new LHCCoBrowserOperator(window,document,{'formsenabled':<?php 
erLhcoreClassInstance::getInstance()->cobrowse_forms_supported == 1 ? print 'true' : (print 'false');
?>
,'lhcbase':'<?php 
echo (erLhcoreClassSystem::$httpsMode == true ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'];
echo erLhcoreClassDesign::baseurl('cobrowse/proxycss');
?>
','httpsmode':<?php 
echo erLhcoreClassSystem::$httpsMode == true ? 'true' : 'false';
?>
,'disablejs':<?php 
echo erLhcoreClassModelChatConfig::fetch('disable_js_execution')->current_value == 1 ? 'true' : 'false';
?>
,options:{opcontrol:$('#status-icon-control'),opscroll:$('#sync-user-scroll'),opmouse:$('#show-operator-mouse'),scroll:$('#scroll-user-window')},'cpos':{w:<?php 
echo $browse->w;
?>
,wh:<?php 
echo $browse->wh;
?>
},'cursor':'<?php 
echo erLhcoreClassModelChatConfig::fetch('explicit_http_mode')->current_value;
?>
//<?php 
echo $_SERVER['HTTP_HOST'];
echo erLhcoreClassDesign::design('images/icons/cursor.png');
?>
','nodejssettings':{'nodejssocket':<?php 
echo json_encode(erLhcoreClassModelChatConfig::fetch('sharing_nodejs_sllocation')->current_value);
?>
,'nodejshost':<?php 
echo json_encode(erLhcoreClassModelChatConfig::fetch('sharing_nodejs_socket_host')->current_value);
开发者ID:alisadali,项目名称:automated-hosting,代码行数:31,代码来源:operatorinit.tpl.php

示例8:

<?php

$operator_screenshot_enabled = erLhcoreClassInstance::getInstance()->screenshot_supported == 1;
开发者ID:alisadali,项目名称:automated-hosting,代码行数:3,代码来源:operator_screenshot_pre.tpl.php

示例9:

<?php

$user_menu_tabs_personal_canned_messages_tab = erLhcoreClassInstance::getInstance()->cannedmsg_supported == 1;
开发者ID:alisadali,项目名称:automated-hosting,代码行数:3,代码来源:personal_canned_messages_tab_pre.tpl.php

示例10:

<?php

$chat_onlineusers_section_map_online_tab_enabled = erLhcoreClassInstance::getInstance()->onlinevisitortrck_supported == 1;
开发者ID:alisadali,项目名称:automated-hosting,代码行数:3,代码来源:section_map_online_tab_pre.tpl.php

示例11:

<?php

$information_tab_user_files_tab_enabled = erLhcoreClassInstance::getInstance()->files_supported == 1;
开发者ID:alisadali,项目名称:automated-hosting,代码行数:3,代码来源:information_tab_user_files_tab_pre.tpl.php

示例12:

<?php

$system_configuration_links_autoresponder_enabled = erLhcoreClassInstance::getInstance()->autoresponder_supported == 1;
开发者ID:alisadali,项目名称:automated-hosting,代码行数:3,代码来源:autoresponder_pre.tpl.php

示例13:

<?php

$system_configuration_tabs_generate_js_enabled = erLhcoreClassInstance::getInstance()->chat_supported == 1 || erLhcoreClassInstance::getInstance()->chatbox_supported == 1 || erLhcoreClassInstance::getInstance()->faq_supported == 1 || erLhcoreClassInstance::getInstance()->questionnaire_supported == 1;
开发者ID:alisadali,项目名称:automated-hosting,代码行数:3,代码来源:generate_js_pre.tpl.php

示例14:

<?php

$chat_chat_tabs_actions_cobrowse_enabled = erLhcoreClassInstance::getInstance()->cobrowse_supported == 1;
开发者ID:alisadali,项目名称:automated-hosting,代码行数:3,代码来源:cobrowse_pre.tpl.php

示例15:

<?php

$system_configuration_proactive_enabled = erLhcoreClassInstance::getInstance()->proactive_supported == 1;
开发者ID:alisadali,项目名称:automated-hosting,代码行数:3,代码来源:proactive_pre.tpl.php


注:本文中的erLhcoreClassInstance::getInstance方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。