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


PHP BxDolPageView::BxDolPageView方法代码示例

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


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

示例1: BxPmtOrdersPage

 function BxPmtOrdersPage($sType, &$oPayments)
 {
     parent::BxDolPageView('bx_pmt_orders');
     $this->_sType = $sType;
     $this->_oPayments =& $oPayments;
     $GLOBALS['oTopMenu']->setCurrentProfileID($this->_oPayments->_iUserId);
 }
开发者ID:noormcs,项目名称:studoro,代码行数:7,代码来源:orders.php

示例2: BxSitesPageHon

 function BxSitesPageHon(&$oSites)
 {
     parent::BxDolPageView('bx_sites_hon');
     $this->_oSites =& $oSites;
     $this->_oTemplate = $oSites->_oTemplate;
     $this->_oDb = $oSites->_oDb;
 }
开发者ID:dalinhuang,项目名称:shopexts,代码行数:7,代码来源:BxSitesPageHon.php

示例3: BxDolPEditProcessor

 function BxDolPEditProcessor()
 {
     global $logged;
     $this->aProfiles = array(0 => array(), 1 => array());
     // double arrays (for couples)
     $this->aValues = array(0 => array(), 1 => array());
     $this->aErrors = array(0 => array(), 1 => array());
     $iId = bx_get('ID');
     $this->iProfileID = (int) $iId;
     // basic checks
     if ($logged['member']) {
         $iMemberID = getLoggedId();
         if (!$this->iProfileID) {
             //if profile id is not set by request, edit own profile
             $this->iProfileID = $iMemberID;
             $this->iArea = 2;
         } else {
             // check if this member is owner
             if ($this->iProfileID == $iMemberID) {
                 $this->iArea = 2;
             }
         }
     } elseif ($logged['admin']) {
         $this->iArea = 3;
     } elseif ($logged['moderator']) {
         $this->iArea = 4;
     }
     $this->bAjaxMode = (isset($_SERVER['HTTP_X_REQUESTED_WITH']) and $_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest');
     $this->bForceAjaxSave = bx_get('force_ajax_save');
     parent::BxDolPageView('pedit');
 }
开发者ID:bright-spark,项目名称:dolphin.pro,代码行数:31,代码来源:pedit.php

示例4: BxPfwPageCart

 function BxPfwPageCart(&$oMain)
 {
     parent::BxDolPageView('bx_pfw_cart');
     $this->_oMain = $oMain;
     $GLOBALS['oTopMenu']->setCurrentProfileID($this->_oMain->getUserId());
     $GLOBALS['oTopMenu']->setCustomVar('sys_payment_module_uri', $this->_oMain->_oConfig->getUri());
 }
开发者ID:Gotgot59,项目名称:dolphin.pro,代码行数:7,代码来源:BxPfwPageCart.php

示例5: BxPollView

 /**
  * Class constructor;
  *
  * @param : $sPageName   (string)  - builder's page name;
  * @param : $oPollModule (object)  - created poll's module object;
  * @param : $iPollId     (integer) - poll's Id;
  */
 function BxPollView($sPageName, &$aModule, &$oPollModule, $iPollId)
 {
     parent::BxDolPageView($sPageName);
     // define member's Id;
     $aProfileInfo = getProfileInfo();
     $this->iMemberId = isset($aProfileInfo['ID']) ? $aProfileInfo['ID'] : 0;
     $this->oModule = $oPollModule;
     $this->iPollId = $iPollId;
     if ($this->iPollId) {
         $this->aPollInfo = $this->oModule->_oDb->getPollInfo($this->iPollId);
         if (!$this->oModule->oPrivacy->check('view', $this->aPollInfo[0]['id_poll'], $this->iMemberId)) {
             echo $this->oModule->_oTemplate->defaultPage(_t('_bx_poll'), MsgBox(_t('_bx_poll_access_denied')), 2);
             exit;
         }
     }
     if ($this->aPollInfo) {
         $this->aPollInfo = array_shift($this->aPollInfo);
     }
     $this->oVotingView = new BxTemplVotingView('bx_poll', $this->iPollId);
     $this->oCmtsView = new BxPollCmts('bx_poll', $this->iPollId);
     $this->aModule = $aModule;
     if ($sPageName == 'show_poll_info') {
         $GLOBALS['oTopMenu']->setCustomSubHeaderUrl(BX_DOL_URL_ROOT . $this->oModule->_oConfig->getBaseUri() . '&action=show_poll_info&id=' . $this->iPollId);
     }
     $GLOBALS['oTopMenu']->setCustomBreadcrumbs(array(_t('_bx_poll') => BX_DOL_URL_ROOT . $this->oModule->_oConfig->getBaseUri() . '&action=poll_home', $this->aPollInfo['poll_question'] => ''));
 }
开发者ID:Gotgot59,项目名称:dolphin.pro,代码行数:33,代码来源:BxPollView.php

示例6: BxPmtDetailsPage

 function BxPmtDetailsPage(&$oPayments)
 {
     parent::BxDolPageView('bx_pmt_details');
     $this->_oPayments =& $oPayments;
     $GLOBALS['oTopMenu']->setCurrentProfileID($this->_oPayments->_iUserId);
     $GLOBALS['oTopMenu']->setCustomVar('sys_payment_module_uri', $this->_oPayments->_oConfig->getUri());
 }
开发者ID:Gotgot59,项目名称:dolphin.pro,代码行数:7,代码来源:details.php

示例7: BxDolProfilePageView

 function BxDolProfilePageView(&$oPr, &$aSite, &$aDir)
 {
     $this->oProfileV =& $oPr;
     $this->aConfSite = $aSite;
     $this->aConfDir = $aDir;
     parent::BxDolPageView('profile');
 }
开发者ID:BackupTheBerlios,项目名称:dolphin-dwbn-svn,代码行数:7,代码来源:BxBaseProfileView.php

示例8: BxBaseCategoriesModule

 function BxBaseCategoriesModule($aParam, $sTitle, $sUrl)
 {
     $this->_sPage = 'categ_module';
     $this->_sTitle = $sTitle ? $sTitle : _t('_categ_users');
     $this->_sUrl = $sUrl;
     $this->_aParam = $aParam;
     parent::BxDolPageView($this->_sPage);
 }
开发者ID:dalinhuang,项目名称:shopexts,代码行数:8,代码来源:BxBaseCategoriesModule.php

示例9: BxPmtHistoryPage

 function BxPmtHistoryPage($sType, &$oPayments)
 {
     parent::BxDolPageView('bx_pmt_history');
     $this->_iVendorId = $sType == 'site' ? BX_PMT_ADMINISTRATOR_ID : BX_PMT_EMPTY_ID;
     $this->_oPayments =& $oPayments;
     $GLOBALS['oTopMenu']->setCurrentProfileID($this->_oPayments->_iUserId);
     $GLOBALS['oTopMenu']->setCustomVar('sys_payment_module_uri', $this->_oPayments->_oConfig->getUri());
 }
开发者ID:Gotgot59,项目名称:dolphin.pro,代码行数:8,代码来源:history.php

示例10: BxSitesPageMain

 function BxSitesPageMain(&$oSites)
 {
     parent::BxDolPageView('bx_sites_main');
     $this->_oSites =& $oSites;
     $this->_oTemplate = $oSites->_oTemplate;
     $this->_oConfig = $oSites->_oConfig;
     $this->_oDb = $oSites->_oDb;
 }
开发者ID:dalinhuang,项目名称:shopexts,代码行数:8,代码来源:BxSitesPageMain.php

示例11: BxPfwPageHistory

 function BxPfwPageHistory($sType, &$oMain)
 {
     parent::BxDolPageView('bx_pfw_history');
     $this->_iVendorId = $sType == 'site' ? BX_PMT_ADMINISTRATOR_ID : BX_PMT_EMPTY_ID;
     $this->_oMain = $oMain;
     $GLOBALS['oTopMenu']->setCurrentProfileID($this->_oMain->getUserId());
     $GLOBALS['oTopMenu']->setCustomVar('sys_payment_module_uri', $this->_oMain->_oConfig->getUri());
 }
开发者ID:Gotgot59,项目名称:dolphin.pro,代码行数:8,代码来源:BxPfwPageHistory.php

示例12: BxMapPageMain

 function BxMapPageMain(&$oModule)
 {
     $this->oMain =& $oModule;
     $this->oTemplate = $oModule->_oTemplate;
     $this->oConfig = $oModule->_oConfig;
     $this->oDb = $oModule->_oDb;
     parent::BxDolPageView('bx_map');
 }
开发者ID:dalinhuang,项目名称:shopexts,代码行数:8,代码来源:BxMapPageMain.php

示例13: BxDolMember

 function BxDolMember($iMember, &$aSite, &$aDir)
 {
     $this->iMember = (int) $iMember;
     $this->aMemberInfo = getProfileInfo($this->iMember);
     $this->aConfSite = $aSite;
     $this->aConfDir = $aDir;
     parent::BxDolPageView('member');
 }
开发者ID:dalinhuang,项目名称:shopexts,代码行数:8,代码来源:member.php

示例14: BxBaseTagsModule

 function BxBaseTagsModule($aParam, $sTitle, $sUrl)
 {
     $this->_sPage = 'tags_module';
     $this->_sTitle = $sTitle ? $sTitle : _t('_all_tags');
     $this->_sUrl = $sUrl;
     $this->_aParam = $aParam;
     parent::BxDolPageView($this->_sPage);
 }
开发者ID:Gotgot59,项目名称:dolphin.pro,代码行数:8,代码来源:BxBaseTagsModule.php

示例15: BxSitesPageView

 function BxSitesPageView(&$oSites, $aSite)
 {
     parent::BxDolPageView('bx_sites_view');
     $this->_oSites =& $oSites;
     $this->_aSite = $aSite;
     $this->_oTemplate = $oSites->_oTemplate;
     $this->_oConfig = $oSites->_oConfig;
 }
开发者ID:dalinhuang,项目名称:shopexts,代码行数:8,代码来源:BxSitesPageView.php


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