• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP BxDolPageView类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: 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


示例2: 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


示例3: profileCustomizeBlock

 function profileCustomizeBlock($aTopMenu, $sPage, $aTargets, $sTarget, $aVars)
 {
     $sContent = '';
     $aMenuItems = array();
     $sBaseUrl = BX_DOL_URL_ROOT . $this->_oConfig->getBaseUri();
     $aItems = array();
     foreach ($aTopMenu as $sName => $aItem) {
         $aItems[] = array('title' => $sName, 'active' => $aItem['active'], 'href' => $aItem['href'], 'onclick' => 'oBxSctrMain.reloadCustomizeBlock(this.href, false); return false;');
     }
     $sTopMenu = BxDolPageView::getBlockCaptionMenu('site_customize', $aItems);
     // content for box
     if ($sPage != 'themes') {
         $sTopControls = $this->parsePageByName('designbox_top_controls.html', array('top_controls' => $this->parseHtmlByName('content_box_top_controls.html', array('name_box' => _t('_bx_sctr_select_target'), 'name_targets_box' => 'background_box', 'bx_repeat:targets' => $aTargets))));
         $sBoxContent = $this->parseHtmlByName('content_box.html', array('bx_if:select_target' => array('condition' => !empty($aTargets), 'content' => array('top_controls' => $sTopControls)), 'content' => call_user_func_array(array($this, '_customPage' . ucfirst($sPage)), array($sPage, $sTarget, $aVars)), 'bx_repeat:buttons' => array(array('btn_type' => 'button', 'btn_name' => 'preview', 'btn_value' => _t('_bx_sctr_btn_preview'), 'btn_action' => "oBxSctrMain.reloadCustom('" . $sPage . "', '" . $sTarget . "', 'preview');"), array('btn_type' => 'button', 'btn_name' => 'reset', 'btn_value' => _t('_bx_sctr_btn_reset'), 'btn_action' => "oBxSctrMain.resetCustom('" . $sPage . "', '" . $sTarget . "', 'reset');"), array('btn_type' => 'button', 'btn_name' => 'save', 'btn_value' => _t('_bx_sctr_btn_save'), 'btn_action' => "oBxSctrMain.reloadCustom('" . $sPage . "', '" . $sTarget . "', 'save');"), array('btn_type' => 'button', 'btn_name' => 'publish', 'btn_value' => _t('_bx_sctr_btn_publish'), 'btn_action' => "oBxSctrMain.showPublish('{$sBaseUrl}publish');"))));
     } else {
         $iUserId = $sTarget == 'my' ? $this->_oModule->iUserId : 0;
         $sPageThemes = $this->_customPageThemes($iUserId, true);
         if ($sPageThemes) {
             $aButtons = array(array('btn_type' => 'button', 'btn_name' => 'preview', 'btn_value' => _t('_bx_sctr_btn_preview'), 'btn_action' => "oBxSctrMain.previewTheme();"), array('btn_type' => 'button', 'btn_name' => 'reset', 'btn_value' => _t('_bx_sctr_btn_reset'), 'btn_action' => "oBxSctrMain.resetCustom('', '', 'reset');"), array('btn_type' => 'button', 'btn_name' => 'save', 'btn_value' => _t('_bx_sctr_btn_save'), 'btn_action' => "oBxSctrMain.saveTheme();"));
         } else {
             $aButtons = array();
         }
         if ($sPageThemes && $sTarget != 'shared') {
             $aButtons[] = array('btn_type' => 'button', 'btn_name' => 'delete', 'btn_value' => _t('_bx_sctr_btn_delete'), 'btn_action' => "oBxSctrMain.deleteTheme('" . $sBaseUrl . "deletetheme/');");
         }
         $aButtons[] = array('btn_type' => 'button', 'btn_name' => 'reset', 'btn_value' => _t('_bx_sctr_btn_reset_all'), 'btn_action' => "oBxSctrMain.resetAll('{$sBaseUrl}resetall');");
         $sTopControls = $this->parsePageByName('designbox_top_controls.html', array('top_controls' => $this->parseHtmlByName('content_box_top_controls.html', array('name_box' => _t('_bx_sctr_select_target'), 'name_targets_box' => 'background_box', 'bx_repeat:targets' => $aTargets))));
         $sBoxContent = $this->parseHtmlByName('content_box.html', array('bx_if:select_target' => array('condition' => !empty($aTargets), 'content' => array('top_controls' => $sTopControls)), 'content' => $sPageThemes ? $sPageThemes : MsgBox(_t('_Empty')), 'bx_repeat:buttons' => $aButtons));
     }
     // customize box
     $sContent = $this->parseHtmlByName('customize_block.html', array('js_code' => $this->getJsCode(true), 'content' => $GLOBALS['oFunctions']->transBox(DesignBoxContent(_t('_bx_sctr'), $sBoxContent, 1, $sTopMenu), false)));
     $this->addCss(array('main.css'));
     $this->addJs(array('colorinput.js', 'main.js'));
     return $sContent;
 }
开发者ID:Prashank25,项目名称:dolphin.pro,代码行数:35,代码来源:BxSctrTemplate.php


示例4: 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


示例5: 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


示例6: 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


示例7: 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


示例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: 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


示例11: BxAvaPageMain

 function BxAvaPageMain(&$oMain)
 {
     $this->_oMain =& $oMain;
     $this->_oTemplate = $oMain->_oTemplate;
     $this->_oConfig = $oMain->_oConfig;
     $this->_oDb = $oMain->_oDb;
     parent::BxDolPageView('bx_avatar_main');
 }
开发者ID:dalinhuang,项目名称:shopexts,代码行数:8,代码来源:BxAvaPageMain.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: 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


示例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: getCategTopMenuHtml

 function getCategTopMenuHtml($aParam, $iBoxId, $sAction = '')
 {
     $aItems = array();
     $aTopMenu = $this->getCategTopMenu($aParam, $sAction);
     foreach ($aTopMenu as $sName => $aItem) {
         $aItems[$sName] = array('dynamic' => true, 'active' => $aItem['active'], 'href' => $aItem['href']);
     }
     return BxDolPageView::getBlockCaptionItemCode($iBoxId, $aItems);
 }
开发者ID:Gotgot59,项目名称:dolphin.pro,代码行数:9,代码来源:BxBaseCategories.php


示例16: BxEventsPageMy

 function BxEventsPageMy(&$oMain, &$aProfile)
 {
     $this->_oMain =& $oMain;
     $this->_oTemplate = $oMain->_oTemplate;
     $this->_oConfig = $oMain->_oConfig;
     $this->_oDb = $oMain->_oDb;
     $this->_aProfile =& $aProfile;
     parent::BxDolPageView('bx_events_my');
 }
开发者ID:Gotgot59,项目名称:dolphin.pro,代码行数:9,代码来源:BxEventsPageMy.php


示例17: BxDolTwigPageView

 function BxDolTwigPageView($sName, &$oMain, &$aDataEntry)
 {
     parent::BxDolPageView($sName);
     $this->_oMain = $oMain;
     $this->_oTemplate = $oMain->_oTemplate;
     $this->_oDb = $oMain->_oDb;
     $this->_oConfig = $oMain->_oConfig;
     $this->aDataEntry =& $aDataEntry;
 }
开发者ID:Arvindvi,项目名称:dolphin,代码行数:9,代码来源:BxDolTwigPageView.php


示例18: BxMapPageEdit

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


示例19: array

 function __construct()
 {
     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::__construct('pedit');
 }
开发者ID:toxalot,项目名称:dolphin.pro,代码行数:31,代码来源:pedit.php


示例20:

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



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP BxDolPaginate类代码示例发布时间:2022-05-23
下一篇:
PHP BxDolModuleTemplate类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap