本文整理汇总了PHP中BxDolConfig::BxDolConfig方法的典型用法代码示例。如果您正苦于以下问题:PHP BxDolConfig::BxDolConfig方法的具体用法?PHP BxDolConfig::BxDolConfig怎么用?PHP BxDolConfig::BxDolConfig使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类BxDolConfig
的用法示例。
在下文中一共展示了BxDolConfig::BxDolConfig方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: BxDolFilesConfig
/**
* Constructor
*/
function BxDolFilesConfig($aModule)
{
parent::BxDolConfig($aModule);
$this->sPrefix = 'bx_' . $this->getUri();
$this->isPermalinkEnabled = getParam($this->sPrefix . '_permalinks') == 'on';
$this->aDefaultAlbums = array('profile_album_name');
}
示例2: 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);
}
示例3: BxSctrConfig
/**
* Constructor
*/
function BxSctrConfig($aModule)
{
parent::BxDolConfig($aModule);
$this->_sSessionKeyOpen = 'bx_sctr_open';
$this->_sSessionKeyData = 'bx_sctr_data';
$this->_sSessionDataDivider = '#';
$this->_aJsClasses = array('main' => 'BxSctrMain');
$this->_aJsObjects = array('main' => 'oBxSctrMain');
}
示例4: 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';
}
示例5: 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;
}
示例6: BxAdsConfig
function BxAdsConfig($aModule)
{
parent::BxDolConfig($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";
}
示例7: 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);
}
示例8: 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';
}
示例9: 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);
}
示例10: 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->iBlockExpirationSec = (int) getParam('shoutbox_block_sec');
//in seconds
}
示例11: 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);
}
示例12: 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';
}
示例13: 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";
}
示例14: 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');
}
示例15: 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();
}