• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP BxDolConfig类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: BxSimpleMessengerConfig

 /**
  * Class constructor;
  */
 function BxSimpleMessengerConfig($aModule)
 {
     parent::BxDolConfig($aModule);
     // define the tables prefix ;
     $this->sTablePrefix = $this->getDbPrefix();
     // time (in seconds) script checks for messages ;
     $this->iUpdateTime = getParam('simple_messenger_update_time');
     // number of visible messages into chat box ;
     $this->iVisibleMessages = getParam('simple_messenger_visible_messages');
     // limit of returning messages in message box;
     $this->iCountRetMessages = 10;
     // flashing signals amount of the non-active window ;
     $this->iBlinkCounter = getParam('simple_messenger_blink_counter');
     // save messenger's chat history ;
     $this->bSaveChatHistory = false;
     // allow to procces some smiles code;
     $this->bProccesSmiles = getParam('simple_messenger_procces_smiles');
     // contains block's id where the list of messages will be generated ;
     $this->sOutputBlock = 'extra_area';
     // contain history block's prefix (need for defines the last message);
     $this->sOutputBlockPrefix = 'messages_history_';
     // number of allowed chat boxes;
     $this->iCountAllowedChatBoxes = getParam('simple_messenger_allowed_chatbox');
     $this->sMessageDateFormat = getLocaleFormat(BX_DOL_LOCALE_DATE, BX_DOL_LOCALE_DB);
 }
开发者ID:noormcs,项目名称:studoro,代码行数:28,代码来源:BxSimpleMessengerConfig.php


示例2: BxMbpConfig

 /**
  * Constructor
  */
 function BxMbpConfig($aModule)
 {
     parent::BxDolConfig($aModule);
     $this->_oDb = null;
     $this->_sIconsFolder = 'media/images/membership/';
     $this->_aJsClasses = array('join' => 'BxMbpJoin');
     $this->_aJsObjects = array('join' => 'oMbpJoin');
     $this->_sAnimationEffect = 'fade';
     $this->_iAnimationSpeed = 'slow';
 }
开发者ID:robbie778,项目名称:dolphin.pro,代码行数:13,代码来源:BxMbpConfig.php


示例3: BxSpyConfig

 /**
  * Class constructor;
  */
 function BxSpyConfig($aModule)
 {
     parent::BxDolConfig($aModule);
     $this->iUpdateTime = getParam('bx_spy_update_time');
     $this->iDaysForRows = getParam('bx_spy_keep_rows_days');
     $this->iSpeedToggleUp = getParam('bx_spy_toggle_up');
     $this->iSpeedToggleDown = getParam('bx_spy_toggle_down');
     $this->iPerPage = getParam('bx_spy_per_page');
     $this->_sAlertSystemName = 'bx_spy_content_activity';
     $this->bTrackGuestsActivites = getParam('bx_spy_guest_allow') ? true : false;
 }
开发者ID:Gotgot59,项目名称:dolphin.pro,代码行数:14,代码来源:BxSpyConfig.php


示例4: BxWallConfig

 /**
  * Constructor
  */
 function BxWallConfig($aModule)
 {
     parent::BxDolConfig($aModule);
     $this->_bFullCompilation = false;
     $this->_sAlertSystemName = "bx_wall";
     $this->_sCommonPostPrefix = 'wall_common_';
     $this->_sCommentSystemName = "bx_wall";
     $this->_sAnimationEffect = 'fade';
     $this->_iAnimationSpeed = 'slow';
     $this->_sDividerDateFormat = getLocaleFormat(BX_DOL_LOCALE_DATE_SHORT, BX_DOL_LOCALE_DB);
 }
开发者ID:dalinhuang,项目名称:shopexts,代码行数:14,代码来源:BxWallConfig.php


示例5: BxMbpConfig

 /**
  * Constructor
  */
 function BxMbpConfig($aModule)
 {
     parent::BxDolConfig($aModule);
     $this->_oDb = null;
     $this->_bDisableFreeJoin = false;
     $this->_bEnableStandardOnPaidJoin = true;
     $this->_sIconsFolder = 'media/images/membership/';
     $this->_aJsClasses = array('join' => 'BxMbpJoin');
     $this->_aJsObjects = array('join' => 'oMbpJoin');
     $this->_sAnimationEffect = 'fade';
     $this->_iAnimationSpeed = 'slow';
 }
开发者ID:Gotgot59,项目名称:dolphin.pro,代码行数:15,代码来源:BxMbpConfig.php


示例6: BxFaceBookConnectConfig

 /**
  * Class constructor;
  */
 function BxFaceBookConnectConfig($aModule)
 {
     parent::BxDolConfig($aModule);
     $this->mApiID = getParam('bx_facebook_connect_api_key');
     $this->mApiSecret = getParam('bx_facebook_connect_secret');
     $this->sPageReciver = BX_DOL_URL_ROOT . $this->getBaseUri() . 'login_form';
     $this->sDefaultRedirectUrl = BX_DOL_URL_ROOT . 'member.php';
     $this->sFaceBookAlternativePostfix = '_fb';
     $this->sRedirectPage = getParam('bx_facebook_connect_redirect_page');
     $this->bAutoFriends = 'on' == getParam('bx_facebook_connect_auto_friends') ? true : false;
     $this->aFaceBookReqParams = array('scope' => 'email,user_hometown,user_birthday,user_interests,user_likes,user_location', 'redirect_uri' => $this->sPageReciver);
 }
开发者ID:noormcs,项目名称:studoro,代码行数:15,代码来源:BxFaceBookConnectConfig.php


示例7: __construct

 function __construct()
 {
     parent::__construct();
     bx_import('BxDolTemplate');
     $sCode = BxDolTemplate::getInstance()->getCode();
     $sStaticImages = BX_DOL_URL_ROOT . 'templates/tmpl_' . $sCode . '/images/';
     bx_import('BxDolConfig');
     $oSysConfig = BxDolConfig::getInstance();
     $oSysConfig->set('url_static', 'images', $sStaticImages);
     $oSysConfig->set('url_static', 'icons', $sStaticImages . 'icons/');
     $oSysConfig->set('path_static', 'css', BX_DIRECTORY_PATH_ROOT . 'templates/tmpl_' . $sCode . '/css/');
 }
开发者ID:Baloo7super,项目名称:dolphin,代码行数:12,代码来源:BxTemplConfig.php


示例8: BxPmtConfig

 /**
  * Constructor
  */
 function BxPmtConfig($aModule)
 {
     parent::BxDolConfig($aModule);
     $this->_iAdminId = BX_PMT_ADMINISTRATOR_ID;
     $this->_sAdminUsername = BX_PMT_ADMINISTRATOR_USERNAME;
     $this->_sJsObjectCart = 'oPmtCart';
     $this->_sJsObjectOrders = 'oPmtOrders';
     $this->_sReturnUrl = BX_DOL_URL_ROOT . $this->getBaseUri() . 'cart/';
     $this->_sDataReturnUrl = BX_DOL_URL_ROOT . $this->getBaseUri() . 'act_finalize_checkout/';
     $this->_iOrdersPerPage = 10;
     $this->_iHistoryPerPage = 10;
     $this->_sDateFormatOrders = getLocaleFormat(BX_DOL_LOCALE_DATE_SHORT, BX_DOL_LOCALE_DB);
 }
开发者ID:noormcs,项目名称:studoro,代码行数:16,代码来源:BxPmtConfig.php


示例9: __construct

 function __construct()
 {
     parent::__construct();
     $this->_aConfig['aLessConfig'] = array_merge($this->_aConfig['aLessConfig'], array('bx-font-family' => '"Source Sans Pro", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif', 'bx-color-page' => '#b9e2f6', 'bx-color-block' => '#fff', 'bx-color-box' => '#daf8ff', 'bx-color-sec' => '#fff', 'bx-color-hl' => 'rgba(202, 242, 252, 0.2)', 'bx-color-active' => 'rgba(202, 242, 252, 0.4)', 'bx-border-color' => '#00a0ce'));
     bx_import('BxDolTemplate');
     $sCode = BxDolTemplate::getInstance()->getCode();
     $sStaticImages = BX_DOL_URL_ROOT . 'templates/tmpl_' . $sCode . '/images/';
     bx_import('BxDolConfig');
     $oSysConfig = BxDolConfig::getInstance();
     $oSysConfig->set('url_static', 'images', $sStaticImages);
     $oSysConfig->set('url_static', 'icons', $sStaticImages . 'icons/');
     $oSysConfig->set('path_static', 'css', BX_DIRECTORY_PATH_ROOT . 'templates/tmpl_' . $sCode . '/css/');
 }
开发者ID:blas-dmx,项目名称:trident,代码行数:13,代码来源:BxTemplConfig.php


示例10: BxFaceBookConnectConfig

 /**
  * Class constructor;
  */
 function BxFaceBookConnectConfig($aModule)
 {
     parent::BxDolConfig($aModule);
     $this->mApiID = getParam('bx_facebook_connect_api_key');
     $this->mApiSecret = getParam('bx_facebook_connect_secret');
     $this->sPageReciver = BX_DOL_URL_ROOT . $this->getBaseUri() . 'login_callback';
     $this->sDefaultRedirectUrl = BX_DOL_URL_ROOT . 'member.php';
     $this->sFaceBookAlternativePostfix = '_fb';
     $this->sRedirectPage = getParam('bx_facebook_connect_redirect_page');
     $this->bAutoFriends = 'on' == getParam('bx_facebook_connect_auto_friends') ? true : false;
     $this->aFaceBookReqParams = array('scope' => getParam('bx_facebook_connect_extended_info') ? 'email,public_profile,user_friends,user_birthday,user_about_me,user_hometown,user_location' : 'email,public_profile,user_friends', 'redirect_uri' => $this->sPageReciver);
     $this->sFaceBookFields = getParam('bx_facebook_connect_extended_info') ? 'name,email,first_name,last_name,gender,birthday,bio,hometown,location' : 'name,email,first_name,last_name,gender';
 }
开发者ID:robbie778,项目名称:dolphin.pro,代码行数:16,代码来源:BxFaceBookConnectConfig.php


示例11: BxBlogsConfig

 function BxBlogsConfig($aModule)
 {
     parent::BxDolConfig($aModule);
     $this->_iAnimationSpeed = 'normal';
     $this->sUserExFile = 'blogs.php';
     $this->sAdminExFile = 'post_mod_blog.php';
     $this->sUserExPermalink = 'blogs/';
     $this->iTopTagsCnt = 20;
     $this->iPerPageElements = (int) getParam('blog_step');
     $this->sSQLCategoriesTable = 'sys_categories';
     $this->sSQLPostsTable = 'bx_blogs_posts';
     $this->sSQLBlogsTable = 'bx_blogs_main';
     $this->_sCommentSystemName = "blogposts";
 }
开发者ID:dalinhuang,项目名称:shopexts,代码行数:14,代码来源:BxBlogsConfig.php


示例12: BxWallConfig

 /**
  * Constructor
  */
 function BxWallConfig($aModule)
 {
     parent::BxDolConfig($aModule);
     $this->_bJsMode = false;
     $this->_sAlertSystemName = "bx_wall";
     $this->_sCommonPostPrefix = 'wall_common_';
     $this->_sCommentSystemName = "bx_wall";
     $this->_sAnimationEffect = 'fade';
     $this->_iAnimationSpeed = 'slow';
     $this->_sDividerDateFormat = getLocaleFormat(BX_DOL_LOCALE_DATE_SHORT, BX_DOL_LOCALE_DB);
     $this->_aHideTimeline = array();
     $this->_aHideOutline = array();
     $this->_aHandlers = array();
     $this->_aJsObjects = array('post' => 'oWallPost', 'view' => 'oWallView', 'outline' => 'oWallOutline');
 }
开发者ID:noormcs,项目名称:studoro,代码行数:18,代码来源:BxWallConfig.php


示例13: BxShoutBoxConfig

 /**
  * Class constructor;
  */
 function BxShoutBoxConfig($aModule)
 {
     parent::BxDolConfig($aModule);
     // define the tables prefix ;
     $this->sTablePrefix = $this->getDbPrefix();
     $this->iLifeTime = (int) getParam('shoutbox_clean_oldest');
     //in seconds
     $this->iUpdateTime = (int) getParam('shoutbox_update_time');
     //(in milliseconds)
     $this->iAllowedMessagesCount = (int) getParam('shoutbox_allowed_messages');
     $this->bProcessSmiles = 'on' == getParam('shoutbox_process_smiles') ? true : false;
     $this->iBlockExpirationSec = (int) getParam('shoutbox_block_sec');
     //in seconds
     //list of processed smiles
     $this->aSmiles = array(':arrow:' => 'icon_arrow.gif', ':D' => 'icon_biggrin.gif', ':-D' => 'icon_biggrin.gif', ':grin:' => 'icon_biggrin.gif', ':?' => 'icon_confused.gif', ':-?' => 'icon_confused.gif', '???:' => 'icon_confused.gif', '8)' => 'icon_cool.gif', '8-)' => 'icon_cool.gif', ':cool:' => 'icon_cool.gif', ':cry:' => 'icon_cry.gif', ':shock:' => 'icon_eek.gif', ':evil:' => 'icon_evil.gif', ':!:' => 'icon_exclaim.gif', ':idea:' => 'icon_idea.gif', ':lol:' => 'icon_lol.gif', ':x' => 'icon_mad.gif', ':-x' => 'icon_mad.gif', ':mad:' => 'icon_mad.gif', ':mrgreen' => 'icon_mrgreen.gif', ':|' => 'icon_neutral.gif', ':-|' => 'icon_neutral.gif', ':neutral' => 'icon_neutral.gif', ':?:' => 'icon_question.gif', ':P' => 'icon_razz.gif', ':-P' => 'icon_razz.gif', ':razz:' => 'icon_razz.gif', ':oops:' => 'icon_redface.gif', ':roll:' => 'icon_rolleyes.gif', ':(' => 'icon_sad.gif', ':-(' => 'icon_sad.gif', ':sad:' => 'icon_sad.gif', ':)' => 'icon_smile.gif', ':-)' => 'icon_smile.gif', ':smile:' => 'icon_smile.gif', ':o' => 'icon_surprised.gif', ':-o' => 'icon_surprised.gif', ':eek:' => 'icon_surprised.gif', ':twisted' => 'icon_twisted.gif', ':wink:' => 'icon_wink.gif', ';)' => 'icon_wink.gif', ';-)' => 'icon_wink.gif');
 }
开发者ID:dalinhuang,项目名称:shopexts,代码行数:19,代码来源:BxShoutBoxConfig.php


示例14: BxPollConfig

 /**
  * Constructor
  */
 function BxPollConfig($aModule)
 {
     parent::BxDolConfig($aModule);
     // get allowed members polls;
     $this->iAlowMembersPolls = getParam('enable_poll');
     // get allowed number of polls;
     $this->iAlowPollNumber = getParam('profile_poll_num');
     // chew poll's auto activation;
     $this->iAutoActivate = getParam('profile_poll_act') == 'on' ? 1 : 0;
     $this->iProfilePagePollsCount = getParam('profile_page_polls');
     $this->iIndexPagePollsCount = getParam('index_page_polls');
     // define the table name ;
     $this->sTableName = $this->getDbPrefix() . 'data';
     // define the prefix ;
     $this->sTablePrefix = $this->getDbPrefix();
 }
开发者ID:Gotgot59,项目名称:dolphin.pro,代码行数:19,代码来源:BxPollConfig.php


示例15: BxWallConfig

 function BxWallConfig($aModule)
 {
     parent::BxDolConfig($aModule);
     $sName = 'bx_wall';
     $this->_bJsMode = false;
     $this->_sAlertSystemName = $sName;
     $this->_sCommentSystemName = $sName;
     $this->_sVotingSystemName = $sName;
     $this->_aRepostDefaults = array('show_do_repost_as_button' => false, 'show_do_repost_as_button_small' => false, 'show_do_repost_icon' => false, 'show_do_repost_label' => true, 'show_counter' => true);
     $this->_sCommonPostPrefix = 'wall_common_';
     $this->_aPrefixes = array('style' => 'wall', 'language' => '_wall', 'option' => 'wall_', 'common_post' => $this->_sCommonPostPrefix);
     $this->_sAnimationEffect = 'fade';
     $this->_iAnimationSpeed = 'slow';
     $this->_sDividerDateFormat = getLocaleFormat(BX_DOL_LOCALE_DATE_SHORT, BX_DOL_LOCALE_DB);
     $this->_aHideTimeline = array();
     $this->_aHideOutline = array();
     $this->_aHandlers = array();
     $this->_aJsClasses = array('post' => 'BxWallPost', 'repost' => 'BxWallRepost', 'view' => 'BxWallView', 'outline' => 'BxWallOutline');
     $this->_aJsObjects = array('post' => 'oWallPost', 'repost' => 'oWallRepost', 'view' => 'oWallView', 'outline' => 'oWallOutline', 'voting' => 'oWallVoting');
     $sHtmlPrefix = str_replace('_', '-', $sName);
     $this->_aHtmlIds = array('repost' => array('main' => $sHtmlPrefix . '-repost-', 'counter' => $sHtmlPrefix . '-repost-counter-', 'by_popup' => $sHtmlPrefix . '-repost-by-'));
 }
开发者ID:Gotgot59,项目名称:dolphin.pro,代码行数:22,代码来源:BxWallConfig.php


示例16: BxChatConfig

 /**
  * Constructor
  */
 function BxChatConfig($aModule)
 {
     parent::BxDolConfig($aModule);
 }
开发者ID:dalinhuang,项目名称:shopexts,代码行数:7,代码来源:BxChatConfig.php


示例17: BxDolFilesConfig

 /**
  * Constructor
  */
 function BxDolFilesConfig($aModule)
 {
     parent::BxDolConfig($aModule);
     $this->sPrefix = 'bx_' . $this->getUri();
     $this->isPermalinkEnabled = 'on' == getParam($this->sPrefix . '_permalinks') ? true : false;
 }
开发者ID:noormcs,项目名称:studoro,代码行数:9,代码来源:BxDolFilesConfig.php


示例18: BxMsgConfig

 /**
  * Constructor
  */
 function BxMsgConfig($aModule)
 {
     parent::BxDolConfig($aModule);
 }
开发者ID:Gotgot59,项目名称:dolphin.pro,代码行数:7,代码来源:BxMsgConfig.php


示例19: BxDolTextConfig

 function BxDolTextConfig(&$aModule)
 {
     parent::BxDolConfig($aModule);
 }
开发者ID:dalinhuang,项目名称:shopexts,代码行数:4,代码来源:BxDolTextConfig.php


示例20: BxGroupsConfig

 /**
  * Constructor
  */
 function BxGroupsConfig($aModule)
 {
     parent::BxDolConfig($aModule);
 }
开发者ID:dalinhuang,项目名称:shopexts,代码行数:7,代码来源:BxGroupsConfig.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP BxDolDb类代码示例发布时间:2022-05-23
下一篇:
PHP BxDolCmts类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap