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


PHP Tag::myUrlDecode方法代码示例

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


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

示例1: _setRequiredParamsToView

 protected function _setRequiredParamsToView($view)
 {
     //$this->_helper->viewRenderer->setNoRender();
     $location_id = $this->_getParam('locationid');
     $view->location = new Location($location_id);
     $view->paramsHolder = $view->location->toStdClass();
     //$this->view->paramsHolder = $this->view->location->mergeToAnotherClass($this->view->paramsHolder);
     $view->paramsHolder->locationid = $location_id;
     // Get all category ids.
     $view->paramsHolder->query = Tag::myUrlDecode($this->_getParam('query'));
     $view->paramsHolder->cat1 = Tag::myUrlDecode($this->_getParam('cat1'));
     $view->paramsHolder->cat2 = Tag::myUrlDecode($this->_getParam('cat2'));
     $view->paramsHolder->cat3 = Tag::myUrlDecode($this->_getParam('cat3'));
     $view->paramsHolder->cat4 = Tag::myUrlDecode($this->_getParam('cat4'));
     $view->paramsHolder->cat5 = Tag::myUrlDecode($this->_getParam('cat5'));
     // Get all category names  (only for display)
     $view->paramsHolder->cat1name = Tag::myUrlDecode($this->_getParam('cat1name'));
     $view->paramsHolder->cat2name = Tag::myUrlDecode($this->_getParam('cat2name'));
     $view->paramsHolder->cat3name = Tag::myUrlDecode($this->_getParam('cat3name'));
     $view->paramsHolder->cat4name = Tag::myUrlDecode($this->_getParam('cat4name'));
     $view->paramsHolder->cat5name = Tag::myUrlDecode($this->_getParam('cat5name'));
     $registry = Zend_Registry::getInstance();
     $config = $registry->get('CONFIG');
     $view->limit = $config->search->pagelimit;
     $view->offset = $this->_getParam('page');
     if (empty($view->offset)) {
         $view->offset = 0;
     } else {
         $view->offset = ($this->view->offset - 1) * $view->limit;
     }
     $view->router = Common::getRouteName();
     return $view;
 }
开发者ID:xinghao,项目名称:shs,代码行数:33,代码来源:BusinessController.php

示例2: setRequiredParamsToMakeContentHeader

 protected function setRequiredParamsToMakeContentHeader()
 {
     // Used by content header.
     // Using homepage template.
     Hotspot_Plugin_ViewSetup::setUpSiteTemplate(Hotspot_Plugin_ViewSetup::FRONTENDVIEW);
     //$this->_helper->viewRenderer->setNoRender();
     $this->view->paramsHolder = new StdClass();
     $this->view->location = new Location(Tag::myUrlDecode($this->_getParam('city')), Tag::myUrlDecode($this->_getParam('state')), Tag::myUrlDecode($this->_getParam('country')), Tag::myUrlDecode($this->_getParam('region')));
     $this->view->paramsHolder = $this->view->location->mergeToAnotherClass($this->view->paramsHolder);
     $this->view->paramsHolder->query = Tag::myUrlDecode($this->_getParam('query'));
     $this->view->paramsHolder->cat1 = Tag::myUrlDecode($this->_getParam('cat1'));
     $this->view->paramsHolder->cat2 = Tag::myUrlDecode($this->_getParam('cat2'));
     $this->view->paramsHolder->cat3 = Tag::myUrlDecode($this->_getParam('cat3'));
     $this->view->paramsHolder->cat4 = Tag::myUrlDecode($this->_getParam('cat4'));
     $this->view->paramsHolder->cat5 = Tag::myUrlDecode($this->_getParam('cat5'));
     $registry = Zend_Registry::getInstance();
     $config = $registry->get('CONFIG');
     $this->view->limit = $config->search->pagelimit;
     $this->view->offset = $this->_getParam('page');
     if (empty($this->view->offset)) {
         $this->view->offset = 0;
     } else {
         $this->view->offset = ($this->view->offset - 1) * 10;
     }
     $this->view->router = Common::getRouteName();
 }
开发者ID:xinghao,项目名称:shs,代码行数:26,代码来源:Action.php

示例3: _setRequiredParamsToView

 protected function _setRequiredParamsToView($view)
 {
     $view = parent::_setRequiredParamsToView($view);
     $view->paramsHolder->headingid = Tag::myUrlDecode($this->_getParam('headingid'));
     $view->paramsHolder->headingid = $view->paramsHolder->headingid ? $view->paramsHolder->headingid : $this->_cat1All;
     return $view;
 }
开发者ID:xinghao,项目名称:shs,代码行数:7,代码来源:InformationController.php

示例4: _setRequiredParamsToView

 protected function _setRequiredParamsToView($view)
 {
     $view = parent::_setRequiredParamsToView($view);
     $view->paramsHolder->min = Tag::myUrlDecode($this->_getParam('min'));
     $view->paramsHolder->max = Tag::myUrlDecode($this->_getParam('max'));
     //$view->paramsHolder->cat2 = ($view->paramsHolder->cat2)?($view->paramsHolder->cat2):630;
     return $view;
 }
开发者ID:xinghao,项目名称:shs,代码行数:8,代码来源:CarsController.php

示例5: _setRequiredParamsToView

 protected function _setRequiredParamsToView($view)
 {
     $view = parent::_setRequiredParamsToView($view);
     $view->paramsHolder->bed = Tag::myUrlDecode($this->_getParam('bed'));
     $view->paramsHolder->cars = Tag::myUrlDecode($this->_getParam('cars'));
     $view->paramsHolder->bath = Tag::myUrlDecode($this->_getParam('bath'));
     $view->paramsHolder->min = Tag::myUrlDecode($this->_getParam('min'));
     $view->paramsHolder->max = Tag::myUrlDecode($this->_getParam('max'));
     $view->paramsHolder->cat2 = $view->paramsHolder->cat2 ? $view->paramsHolder->cat2 : 630;
     return $view;
 }
开发者ID:xinghao,项目名称:shs,代码行数:11,代码来源:RealestateController.php


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