/** * 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'); }
/** * 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'); }
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"; }
/** * 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; }
/** * 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 }
/** * 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'; }
/** * 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(); }
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'; }
/** * 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'; }
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-')); }
/** * 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); }
function __construct($aModule) { parent::__construct($aModule); }
function __construct($aModule) { parent::__construct($aModule); $this->_aMemberships = getMemberships(); }
function __construct($aModule) { parent::__construct($aModule); $this->_iAnimationSpeed = 'normal'; }
/** * Constructor */ function __construct($aModule) { parent::__construct($aModule); $this->_aJsClasses = array('main' => 'BxProfileCustimizer'); $this->_aJsObjects = array('main' => 'oCustomizer'); }
function __construct($aModule) { parent::__construct($aModule); $this->sDefaultRedirectUrl = BX_DOL_URL_ROOT . 'member.php'; }