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


PHP BxDolModule::BxDolModule方法代码示例

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


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

示例1: BxWmapModule

 function BxWmapModule(&$aModule)
 {
     parent::BxDolModule($aModule);
     $this->_iProfileId = getLoggedId();
     $this->_aParts = $this->_oDb->getParts();
     $this->_oDb->_aParts =& $this->_aParts;
 }
开发者ID:Arvindvi,项目名称:dolphin,代码行数:7,代码来源:BxWmapModule.php

示例2: BxGSearchModule

 function BxGSearchModule(&$aModule)
 {
     parent::BxDolModule($aModule);
     $GLOBALS['aModule'] = $aModule;
     $this->_iProfileId = getLoggedId();
     $GLOBALS['oBxGSearchModule'] =& $this;
 }
开发者ID:newton27,项目名称:dolphin.pro,代码行数:7,代码来源:BxGSearchModule.php

示例3: BxGSearchModule

 function BxGSearchModule(&$aModule)
 {
     parent::BxDolModule($aModule);
     $GLOBALS['aModule'] = $aModule;
     $this->_iProfileId = $GLOBALS['logged']['member'] || $GLOBALS['logged']['admin'] ? $_COOKIE['memberID'] : 0;
     $GLOBALS['oBxGSearchModule'] =& $this;
 }
开发者ID:dalinhuang,项目名称:shopexts,代码行数:7,代码来源:BxGSearchModule.php

示例4: BxProfileCustomizeModule

 /**
  * Constructor
  */
 function BxProfileCustomizeModule($aModule)
 {
     parent::BxDolModule($aModule);
     $this->iUserId = getLoggedId();
     $this->_oConfig->init($this->_oDb);
     $this->_oTemplate->init($this, $this->_oDb);
     $this->_aCssMatch = $this->_oDb->getUnits();
 }
开发者ID:Gotgot59,项目名称:dolphin.pro,代码行数:11,代码来源:BxProfileCustomizeModule.php

示例5: BxShoutBoxModule

 /**
  * Class constructor ;
  *
  * @param   : $aModule (array) - contain some information about this module;
  *                  [ id ]           - (integer) module's  id ;
  *                  [ title ]        - (string)  module's  title ;
  *                  [ vendor ]       - (string)  module's  vendor ;
  *                  [ path ]         - (string)  path to this module ;
  *                  [ uri ]          - (string)  this module's URI ;
  *                  [ class_prefix ] - (string)  this module's php classes file prefix ;
  *                  [ db_prefix ]    - (string)  this module's Db tables prefix ;
  *                  [ date ]         - (string)  this module's date installation ;
  */
 function BxShoutBoxModule(&$aModule)
 {
     parent::BxDolModule($aModule);
     // prepare the location link ;
     $this->sPathToModule = BX_DOL_URL_ROOT . $this->_oConfig->getBaseUri();
     $this->aModuleInfo = $aModule;
     $this->iMemberId = getLoggedId();
 }
开发者ID:dalinhuang,项目名称:shopexts,代码行数:21,代码来源:BxShoutBoxModule.php

示例6: BxDataMigrationModule

 /**
  * Class constructor ;
  *
  * @param   : $aModule (array) - contain some information about this module;
  *                  [ id ]           - (integer) module's  id ;
  *                  [ title ]        - (string)  module's  title ;
  *                  [ vendor ]       - (string)  module's  vendor ;
  *                  [ path ]         - (string)  path to this module ;
  *                  [ uri ]          - (string)  this module's URI ;
  *                  [ class_prefix ] - (string)  this module's php classes file prefix ;
  *                  [ db_prefix ]    - (string)  this module's Db tables prefix ;
  *                  [ date ]         - (string)  this module's date installation ;
  */
 function BxDataMigrationModule(&$aModule)
 {
     parent::BxDolModule($aModule);
     // prepare the location link ;
     $this->sPathToModule = BX_DOL_URL_ROOT . $this->_oConfig->getBaseUri();
     $this->aModuleInfo = $aModule;
     $this->aMigrationModules = array('profiles' => array('is_module' => false, 'module_name' => 'profiles', 'module_class' => '', 'migration_class' => 'BxDataMigrationProfiles', 'dependencies' => array()), 'poll' => array('is_module' => true, 'module_name' => 'poll', 'module_class' => 'BxPollModule', 'migration_class' => 'BxDataMigrationPoll', 'dependencies' => array('profiles')), 'events' => array('is_module' => true, 'module_name' => 'events', 'module_class' => 'BxEventsModule', 'migration_class' => 'BxDataMigrationEvents', 'dependencies' => array('profiles', 'photos')), 'blogs' => array('is_module' => true, 'module_name' => 'blogs', 'module_class' => 'BxBlogsModule', 'migration_class' => 'BxDataMigrationBlogs', 'dependencies' => array('profiles')), 'ads' => array('is_module' => true, 'module_name' => 'ads', 'module_class' => 'BxAdsModule', 'migration_class' => 'BxDataMigrationAds', 'dependencies' => array('profiles')), 'news' => array('is_module' => true, 'module_name' => 'news', 'module_class' => 'BxNewsModule', 'migration_class' => 'BxDataMigrationNews', 'dependencies' => array('profiles')), 'articles' => array('is_module' => true, 'module_name' => 'articles', 'module_class' => 'BxArlModule', 'migration_class' => 'BxDataMigrationArticles', 'dependencies' => array('profiles')), 'feedback' => array('is_module' => true, 'module_name' => 'feedback', 'module_class' => 'BxFdbModule', 'migration_class' => 'BxDataMigrationFeedback', 'dependencies' => array('profiles')), 'sounds' => array('is_module' => true, 'module_name' => 'sounds', 'module_class' => 'BxSoundsModule', 'migration_class' => 'BxDataMigrationSounds', 'dependencies' => array('profiles')), 'photos' => array('is_module' => true, 'module_name' => 'photos', 'module_class' => 'BxPhotosModule', 'migration_class' => 'BxDataMigrationPhotos', 'dependencies' => array('profiles')), 'videos' => array('is_module' => true, 'module_name' => 'videos', 'module_class' => 'BxVideosModule', 'migration_class' => 'BxDataMigrationVideos', 'dependencies' => array('profiles')), 'forum' => array('is_module' => true, 'module_name' => 'forum', 'module_class' => 'Orca Forum', 'migration_class' => 'BxDataMigrationForum', 'dependencies' => array('profiles')), 'acl_levels' => array('is_module' => false, 'module_name' => 'acl_levels', 'module_class' => '', 'migration_class' => 'BxDataMigrationMembership', 'dependencies' => array('profiles')), 'custom_profile_fields' => array('is_module' => false, 'module_name' => 'custom_profile_fields', 'module_class' => '', 'migration_class' => 'BxDataMigrationProfilesCustomFields', 'dependencies' => array('profiles')), 'groups' => array('is_module' => true, 'module_name' => 'groups', 'module_class' => 'BxGroupsModule', 'migration_class' => 'BxDataMigrationGroups', 'dependencies' => array('profiles', 'photos')));
 }
开发者ID:dalinhuang,项目名称:shopexts,代码行数:21,代码来源:BxDataMigrationModule.php

示例7: BxProfileCustomizeModule

 /**
  * Constructor
  */
 function BxProfileCustomizeModule($aModule)
 {
     parent::BxDolModule($aModule);
     $this->iUserId = $GLOBALS['logged']['member'] || $GLOBALS['logged']['admin'] ? $_COOKIE['memberID'] : 0;
     $this->_oConfig->init($this->_oDb);
     $this->_oTemplate->init($this, $this->_oDb);
     $this->_aCssMatch = $this->_oDb->getUnits();
 }
开发者ID:dalinhuang,项目名称:shopexts,代码行数:11,代码来源:BxProfileCustomizeModule.php

示例8: BxSctrModule

 /**
  * Constructor
  */
 function BxSctrModule($aModule)
 {
     parent::BxDolModule($aModule);
     $this->iUserId = isLogged() && isAdmin() ? getLoggedId() : 0;
     $this->_oConfig->init($this->_oDb);
     $this->_oTemplate->init($this, $this->_oDb);
     $this->_aCssMatch = $this->_oDb->getUnits();
 }
开发者ID:Gotgot59,项目名称:dolphin.pro,代码行数:11,代码来源:BxSctrModule.php

示例9: BxWallModule

 /**
  * Constructor
  */
 function BxWallModule($aModule)
 {
     parent::BxDolModule($aModule);
     $this->_oConfig->init($this->_oDb);
     $this->_oTemplate->init($this);
     $this->_iOwnerId = 0;
     //--- Define Membership Actions ---//
     defineMembershipActions(array('timeline post comment', 'timeline delete comment'), 'ACTION_ID_');
 }
开发者ID:newton27,项目名称:dolphin.pro,代码行数:12,代码来源:BxWallModule.php

示例10: BxWmapModule

 function BxWmapModule(&$aModule)
 {
     parent::BxDolModule($aModule);
     $this->_iProfileId = getLoggedId();
     $this->_aParts = $this->_oDb->getParts();
     $this->_oDb->_aParts =& $this->_aParts;
     if (0 == strncmp('https', BX_DOL_URL_ROOT, 5)) {
         $this->_sProto = 'https';
     }
 }
开发者ID:Gotgot59,项目名称:dolphin.pro,代码行数:10,代码来源:BxWmapModule.php

示例11: BxGSearchModule

 function BxGSearchModule(&$aModule)
 {
     parent::BxDolModule($aModule);
     $GLOBALS['aModule'] = $aModule;
     $this->_iProfileId = getLoggedId();
     $GLOBALS['oBxGSearchModule'] =& $this;
     if (0 == strncmp('https', BX_DOL_URL_ROOT, 5)) {
         $this->_sProto = 'https';
     }
 }
开发者ID:Gotgot59,项目名称:dolphin.pro,代码行数:10,代码来源:BxGSearchModule.php

示例12: BxSimpleMessengerModule

 /**
  * Class constructor ;
  *
  * @param   : $aModule (array) - contain some information about this module;
  *                  [ id ]           - (integer) module's  id ;
  *                  [ title ]        - (string)  module's  title ;
  *                  [ vendor ]       - (string)  module's  vendor ;
  *                  [ path ]         - (string)  path to this module ;
  *                  [ uri ]          - (string)  this module's URI ;
  *                  [ class_prefix ] - (string)  this module's php classes file prefix ;
  *                  [ db_prefix ]    - (string)  this module's Db tables prefix ;
  *                  [ date ]         - (string)  this module's date installation ;
  */
 function BxSimpleMessengerModule($aModule)
 {
     parent::BxDolModule($aModule);
     $this->sHomeUrl = $this->_oConfig->_sHomeUrl;
     $this->aModuleInfo = $aModule;
     $this->iLoggedMemberId = getLoggedId();
     $this->aCoreSettings = array('update_time' => $this->_oConfig->iUpdateTime, 'number_visible_messages' => $this->_oConfig->iVisibleMessages, 'limit_returning_messages' => $this->_oConfig->iCountRetMessages, 'number_of_allowed_chat_boxes' => $this->_oConfig->iCountAllowedChatBoxes, 'output_block' => $this->_oConfig->sOutputBlock, 'page_receiver' => BX_DOL_URL_ROOT . 'modules/?r=' . $this->aModuleInfo['uri'] . '/get_operation', 'history_block_prefix' => $this->_oConfig->sOutputBlockPrefix, 'save_chat_history' => $this->_oConfig->bSaveChatHistory, 'language_keys' => array('empty_message' => _t('_simple_messenger_empty_message')), 'blink_counter' => $this->_oConfig->iBlinkCounter, 'message_date_format' => $this->_oConfig->sMessageDateFormat);
     $this->sMemberMenuPosition = isset($_COOKIE['menu_position']) ? $_COOKIE['menu_position'] : getParam('ext_nav_menu_top_position');
     $this->oPrivacy = new BxSimpleMessengerPrivacy($this);
 }
开发者ID:Gotgot59,项目名称:dolphin.pro,代码行数:23,代码来源:BxSimpleMessengerModule.php

示例13: BxDolTextModule

 function BxDolTextModule($aModule)
 {
     parent::BxDolModule($aModule);
     $this->_oConfig->init($this->_oDb);
     $this->_oTemplate->init($this);
     $sClassPrefix = $this->_oConfig->getClassPrefix();
     $sClassName = $sClassPrefix . 'Privacy';
     $this->_oPrivacy = class_exists($sClassName) ? new $sClassName($this) : null;
     $sClassName = $sClassPrefix . 'Data';
     $this->_oTextData = class_exists($sClassName) ? new $sClassName($this) : null;
 }
开发者ID:newton27,项目名称:dolphin.pro,代码行数:11,代码来源:BxDolTextModule.php

示例14: BxOAuthModule

 function BxOAuthModule(&$aModule)
 {
     parent::BxDolModule($aModule);
     $aConfig = array('client_table' => 'bx_oauth_clients', 'access_token_table' => 'bx_oauth_access_tokens', 'refresh_token_table' => 'bx_oauth_refresh_tokens', 'code_table' => 'bx_oauth_authorization_codes', 'user_table' => 'Profiles', 'jwt_table' => '', 'jti_table' => '', 'scope_table' => 'bx_oauth_scopes', 'public_key_table' => '');
     $this->_oStorage = new OAuth2\Storage\Pdo(array('dsn' => $this->_buildDSN(), 'username' => $GLOBALS['db']['user'], 'password' => $GLOBALS['db']['passwd'], 'options' => array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES 'UTF8'")), $aConfig);
     $this->_oServer = new OAuth2\Server($this->_oStorage, array('require_exact_redirect_uri' => false));
     // Add the "Client Credentials" grant type (it is the simplest of the grant types)
     $this->_oServer->addGrantType(new OAuth2\GrantType\ClientCredentials($this->_oStorage));
     // Add the "Authorization Code" grant type (this is where the oauth magic happens)
     $this->_oServer->addGrantType(new OAuth2\GrantType\AuthorizationCode($this->_oStorage));
 }
开发者ID:Gotgot59,项目名称:dolphin.pro,代码行数:11,代码来源:BxOAuthModule.php

示例15: BxSimpleMessengerModule

 /**
  * Class constructor ;
  *
  * @param   : $aModule (array) - contain some information about this module;
  *                  [ id ]           - (integer) module's  id ;
  *                  [ title ]        - (string)  module's  title ;
  *                  [ vendor ]       - (string)  module's  vendor ;
  *                  [ path ]         - (string)  path to this module ;
  *                  [ uri ]          - (string)  this module's URI ;
  *                  [ class_prefix ] - (string)  this module's php classes file prefix ;
  *                  [ db_prefix ]    - (string)  this module's Db tables prefix ;
  *                  [ date ]         - (string)  this module's date installation ;
  */
 function BxSimpleMessengerModule($aModule)
 {
     parent::BxDolModule($aModule);
     $this->sHomeUrl = $this->_oConfig->_sHomeUrl;
     $this->aModuleInfo = $aModule;
     $this->iLoggedMemberId = getLoggedId();
     $this->aCoreSettings = array('update_time' => $this->_oConfig->iUpdateTime, 'number_visible_messages' => $this->_oConfig->iVisibleMessages, 'limit_returning_messages' => $this->_oConfig->iCountRetMessages, 'number_of_allowed_chat_boxes' => $this->_oConfig->iCountAllowedChatBoxes, 'output_block' => $this->_oConfig->sOutputBlock, 'page_receiver' => BX_DOL_URL_ROOT . 'modules/?r=' . $this->aModuleInfo['uri'] . '/get_operation', 'history_block_prefix' => $this->_oConfig->sOutputBlockPrefix, 'save_chat_history' => $this->_oConfig->bSaveChatHistory, 'procces_smiles' => $this->_oConfig->bProccesSmiles, 'language_keys' => array('empty_message' => _t('_simple_messenger_empty_message')), 'blink_counter' => $this->_oConfig->iBlinkCounter, 'message_date_format' => $this->_oConfig->sMessageDateFormat);
     $this->sMemberMenuPosition = isset($_COOKIE['menu_position']) ? $_COOKIE['menu_position'] : getParam('ext_nav_menu_top_position');
     $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');
     $this->oPrivacy = new BxSimpleMessengerPrivacy($this);
 }
开发者ID:noormcs,项目名称:studoro,代码行数:24,代码来源:BxSimpleMessengerModule.php


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