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


PHP BxDolConfig::__construct方法代码示例

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


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

示例1: getParam

 /**
  * Constructor
  */
 function __construct($aModule)
 {
     parent::__construct($aModule);
     $this->sPrefix = 'bx_' . $this->getUri();
     $this->isPermalinkEnabled = getParam($this->sPrefix . '_permalinks') == 'on';
     $this->aDefaultAlbums = array('profile_album_name');
 }
开发者ID:toxalot,项目名称:dolphin.pro,代码行数:10,代码来源:BxDolFilesConfig.php

示例2: array

 /**
  * Constructor
  */
 function __construct($aModule)
 {
     parent::__construct($aModule);
     $this->_sSessionKeyOpen = 'bx_sctr_open';
     $this->_sSessionKeyData = 'bx_sctr_data';
     $this->_sSessionDataDivider = '#';
     $this->_aJsClasses = array('main' => 'BxSctrMain');
     $this->_aJsObjects = array('main' => 'oBxSctrMain');
 }
开发者ID:Prashank25,项目名称:dolphin.pro,代码行数:12,代码来源:BxSctrConfig.php

示例3: getTemplateIcon

 function __construct($aModule)
 {
     parent::__construct($aModule);
     $this->_iAnimationSpeed = 'normal';
     $this->sSpacerPath = getTemplateIcon('spacer.gif');
     $this->sSQLPostsTable = 'bx_ads_main';
     $this->sSQLPostsMediaTable = 'bx_ads_main_media';
     $this->sSQLCatTable = 'bx_ads_category';
     $this->sSQLSubcatTable = 'bx_ads_category_subs';
     $this->_sCommentSystemName = "ads";
 }
开发者ID:Prashank25,项目名称:dolphin.pro,代码行数:11,代码来源:BxAdsConfig.php

示例4: getParam

 /**
  * Class constructor;
  */
 function __construct($aModule)
 {
     parent::__construct($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:toxalot,项目名称:dolphin.pro,代码行数:14,代码来源:BxSpyConfig.php

示例5: getParam

 /**
  * Class constructor;
  */
 function __construct($aModule)
 {
     parent::__construct($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->iBlockExpirationSec = (int) getParam('shoutbox_block_sec');
     //in seconds
 }
开发者ID:Prashank25,项目名称:dolphin.pro,代码行数:16,代码来源:BxShoutBoxConfig.php

示例6: array

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

示例7: getParam

 /**
  * Constructor
  */
 function __construct($aModule)
 {
     parent::__construct($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:toxalot,项目名称:dolphin.pro,代码行数:19,代码来源:BxPollConfig.php

示例8: getParam

 function __construct($aModule)
 {
     parent::__construct($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->iPerPageElementsHome = (int) getParam('max_blogs_on_home');
     $this->iPerPageElementsProfile = (int) getParam('max_blogs_on_profile');
     $this->iPerPageElementsIndex = (int) getParam('max_blogs_on_index');
     $this->sSQLCategoriesTable = 'sys_categories';
     $this->sSQLPostsTable = 'bx_blogs_posts';
     $this->sSQLBlogsTable = 'bx_blogs_main';
     $this->_sCommentSystemName = $this->_sRateSystemName = $this->_sViewSystemName = 'bx_blogs';
 }
开发者ID:Prashank25,项目名称:dolphin.pro,代码行数:17,代码来源:BxBlogsConfig.php

示例9: getLocaleFormat

 /**
  * Constructor
  */
 function __construct($aModule)
 {
     parent::__construct($aModule);
     $this->_iAdminId = BX_PMT_ADMINISTRATOR_ID;
     $this->_sAdminUsername = BX_PMT_ADMINISTRATOR_USERNAME;
     $this->_sJoinUrl = $this->getBaseUri() . 'join/';
     $this->_sReturnUrl = $this->getBaseUri() . 'cart/';
     $this->_sDataReturnUrl = $this->getBaseUri() . 'act_finalize_checkout/';
     $this->_iOrdersPerPage = 10;
     $this->_iHistoryPerPage = 10;
     $this->_sDateFormatOrders = getLocaleFormat(BX_DOL_LOCALE_DATE_SHORT, BX_DOL_LOCALE_DB);
     $this->_sAnimationEffect = 'fade';
     $this->_iAnimationSpeed = 'slow';
     $this->_aPrefixes = array('general' => 'bx_pmt_', 'langs' => '_payment_', 'options' => 'pmt_');
     $this->_aJsClasses = array('cart' => 'BxPmtCart', 'orders' => 'BxPmtOrders');
     $this->_aJsObjects = array('cart' => 'oPmtCart', 'orders' => 'oPmtOrders');
     $this->_sOptionsCategory = 'Payment';
 }
开发者ID:Prashank25,项目名称:dolphin.pro,代码行数:21,代码来源:BxPmtConfig.php

示例10: array

 function __construct($aModule)
 {
     parent::__construct($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->_aHideEventsTimeline = array();
     $this->_aHideEventsOutline = array();
     $this->_aHideUploadersTimeline = 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('post' => array('loading' => $sHtmlPrefix . '-post-loading'), 'repost' => array('main' => $sHtmlPrefix . '-repost-', 'counter' => $sHtmlPrefix . '-repost-counter-', 'by_popup' => $sHtmlPrefix . '-repost-by-'));
 }
开发者ID:Prashank25,项目名称:dolphin.pro,代码行数:23,代码来源:BxWallConfig.php

示例11: getParam

 /**
  * Class constructor;
  */
 function __construct($aModule)
 {
     parent::__construct($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;
     // 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:toxalot,项目名称:dolphin.pro,代码行数:26,代码来源:BxSimpleMessengerConfig.php

示例12:

 function __construct($aModule)
 {
     parent::__construct($aModule);
 }
开发者ID:Prashank25,项目名称:dolphin.pro,代码行数:4,代码来源:BxH5avConfig.php

示例13: getMemberships

 function __construct($aModule)
 {
     parent::__construct($aModule);
     $this->_aMemberships = getMemberships();
 }
开发者ID:toxalot,项目名称:dolphin.pro,代码行数:5,代码来源:BxPageACConfig.php

示例14:

 function __construct($aModule)
 {
     parent::__construct($aModule);
     $this->_iAnimationSpeed = 'normal';
 }
开发者ID:Prashank25,项目名称:dolphin.pro,代码行数:5,代码来源:BxCRSSConfig.php

示例15: array

 /**
  * Constructor
  */
 function __construct($aModule)
 {
     parent::__construct($aModule);
     $this->_aJsClasses = array('main' => 'BxProfileCustimizer');
     $this->_aJsObjects = array('main' => 'oCustomizer');
 }
开发者ID:toxalot,项目名称:dolphin.pro,代码行数:9,代码来源:BxProfileCustomizeConfig.php


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