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


PHP pagination_list_footer函数代码示例

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


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

示例1: build

 function build()
 {
     $pagination = $this->pagination;
     $app = JFactory::getApplication();
     $list = array();
     //ISSET() for warning prevention
     $list['prefix'] = isset($pagination->prefix) ? $pagination->prefix : null;
     $list['limit'] = $pagination->limit;
     $list['limitstart'] = $pagination->limitstart;
     $list['total'] = $pagination->total;
     $list['limitfield'] = $pagination->getLimitBox();
     $list['pagescounter'] = $pagination->getPagesCounter();
     $list['pageslinks'] = $pagination->getPagesLinks();
     $chromePath = JPATH_THEMES . '/' . $app->getTemplate() . '/html/pagination.php';
     if (file_exists($chromePath)) {
         require_once $chromePath;
         if (function_exists('pagination_list_footer')) {
             return pagination_list_footer($list);
         }
     }
     $html = "<div class=\"list-footer-pagination\">\n";
     if ($this->showLimit) {
         $langDisplayNum = $this->JText('JGLOBAL_DISPLAY_NUM');
         $html .= "\n<div class=\"limit\">" . $langDisplayNum . $list['limitfield'] . "</div>";
     }
     $html .= $list['pageslinks'];
     if ($this->showCounter) {
         $html .= "\n<div class=\"counter\">" . $list['pagescounter'] . "</div>";
     }
     $html .= "\n<input type=\"hidden\" name=\"" . $list['prefix'] . "limitstart\" value=\"" . $list['limitstart'] . "\" />";
     $html .= "\n</div>";
     return $html;
 }
开发者ID:gwtrains,项目名称:comRTiPrint,代码行数:33,代码来源:pagination.php

示例2: getListFooter

 /**
  * Return the pagination footer.
  *
  * @return  string   Pagination footer.
  * @since	1.0
  */
 public function getListFooter()
 {
     $app = JFactory::getApplication();
     $list = array();
     $list['prefix'] = $this->prefix;
     $list['limit'] = $this->limit;
     $list['limitstart'] = $this->limitstart;
     $list['total'] = $this->total;
     $list['limitfield'] = $this->getLimitBox();
     $list['pagescounter'] = $this->getPagesCounter();
     $list['pageslinks'] = $this->getPagesLinks();
     $chromePath = JPATH_THEMES . DS . $app->getTemplate() . DS . 'html' . DS . 'pagination.php';
     if (file_exists($chromePath)) {
         require_once $chromePath;
         if (function_exists('pagination_list_footer')) {
             return pagination_list_footer($list);
         }
     }
     return $this->_list_footer($list);
 }
开发者ID:ramdesh,项目名称:joomla-platform,代码行数:26,代码来源:pagination.php

示例3: getListFooter

 /**
  * Return the pagination footer.
  *
  * @return  string  Pagination footer.
  *
  * @since   1.5
  */
 public function getListFooter()
 {
     // Keep B/C for overrides done with chromes
     $chromePath = JPATH_THEMES . '/' . JFactory::getApplication()->getTemplate() . '/html/pagination.php';
     if (file_exists($chromePath)) {
         $list = array();
         $list['prefix'] = $this->prefix;
         $list['limit'] = $this->limit;
         $list['limitstart'] = $this->limitstart;
         $list['total'] = $this->total;
         $list['limitfield'] = $this->getLimitBox();
         $list['pagescounter'] = $this->getPagesCounter();
         $list['pageslinks'] = $this->getPagesLinks();
         include_once $chromePath;
         if (function_exists('pagination_list_footer')) {
             return pagination_list_footer($list);
         }
     }
     return $this->getPaginationLinks();
 }
开发者ID:01J,项目名称:skazkipronebo,代码行数:27,代码来源:pagination.php

示例4: getListFooter

 public function getListFooter($ajax = false)
 {
     if (!$ajax) {
         return parent::getListFooter();
     }
     $app = JFactory::getApplication();
     $list = array();
     $list['prefix'] = $this->prefix;
     $list['limit'] = $this->limit;
     $list['limitstart'] = $this->limitstart;
     $list['total'] = $this->total;
     $list['limitfield'] = $this->getLimitBox();
     $list['pagescounter'] = $this->getPagesCounter();
     //override getPageLinks to introduce ajax pagination...
     $list['pageslinks'] = $this->getPagesLinks();
     $chromePath = JPATH_THEMES . '/' . $app->getTemplate() . '/html/pagination.php';
     if (file_exists($chromePath)) {
         include_once $chromePath;
         if (function_exists('pagination_list_footer')) {
             return pagination_list_footer($list);
         }
     }
     return $this->_list_footer($list);
 }
开发者ID:eno93,项目名称:Projectfork,代码行数:24,代码来源:helper.php

示例5: getListFooter

 /**
  * Return the pagination footer.
  *
  * @return  string   Pagination footer.
  *
  * @since   11.1
  */
 public function getListFooter()
 {
     $app = JFactory::getApplication();
     $list = array();
     $list['prefix'] = $this->prefix;
     $list['limit'] = $this->limit;
     $list['limitstart'] = $this->limitstart;
     $list['total'] = $this->total;
     $list['limitfield'] = $this->getLimitBox();
     $list['pagescounter'] = $this->getPagesCounter();
     $list['pageslinks'] = $this->getPagesLinks();
     // Plazart: detect if chrome pagination.php in template or in plugin
     $chromePath = PlazartPath::getPath('html/pagination.php');
     //$chromePath = JPATH_THEMES . '/' . $app->getTemplate() . '/html/pagination.php';
     if (file_exists($chromePath)) {
         include_once $chromePath;
         if (function_exists('pagination_list_footer')) {
             return pagination_list_footer($list);
         }
     }
     return $this->_list_footer($list);
 }
开发者ID:Rus1an,项目名称:plazart,代码行数:29,代码来源:pagination.php

示例6: getListFooter

 /**
  * Return the pagination footer
  *
  * @access	public
  * @return	string	Pagination footer
  * @since	1.0
  */
 function getListFooter()
 {
     global $mainframe;
     $list = array();
     $list['limit'] = $this->limit;
     $list['limitstart'] = $this->limitstart;
     $list['total'] = $this->total;
     $list['limitfield'] = $this->getLimitBox();
     $list['pagescounter'] = $this->getPagesCounter();
     $list['pageslinks'] = $this->getPagesLinks();
     $chromePath = JPATH_THEMES . DS . $mainframe->getTemplate() . DS . 'html' . DS . 'pagination.php';
     if (file_exists($chromePath)) {
         require_once $chromePath;
         if (function_exists('pagination_list_footer')) {
             return pagination_list_footer($list);
         }
     }
     return $this->_list_footer($list);
 }
开发者ID:RangerWalt,项目名称:ecci,代码行数:26,代码来源:pagination.php

示例7: getListFooter

 /**
  * Return the pagination footer.
  *
  * @return  string   Pagination footer.
  *
  * @since   11.1
  */
 public function getListFooter()
 {
     $app = JFactory::getApplication();
     $list = array();
     $list['prefix'] = $this->prefix;
     $list['limit'] = $this->limit;
     $list['limitstart'] = $this->limitstart;
     $list['total'] = $this->total;
     $list['limitfield'] = $this->getLimitBox();
     $list['pagescounter'] = $this->getPagesCounter();
     $list['pageslinks'] = $this->getPagesLinks();
     if (JFile::exists(JPATH_SITE . DS . 'media' . DS . 'contentbuilder' . DS . 'misc' . DS . 'pagination.php')) {
         $chromePath = JPATH_SITE . DS . 'media' . DS . 'contentbuilder' . DS . 'misc' . DS . 'pagination.php';
     } else {
         $chromePath = JPATH_SITE . DS . 'administrator' . DS . 'components' . DS . 'com_contentbuilder' . DS . 'classes' . DS . 'pagination_chrome.php';
     }
     if (file_exists($chromePath)) {
         include_once $chromePath;
         if (function_exists('pagination_list_footer')) {
             return pagination_list_footer($list);
         }
     }
     return $this->_list_footer($list);
 }
开发者ID:ranrolls,项目名称:ras-full-portal,代码行数:31,代码来源:pagination.php

示例8: getListFooter

 /**
  * Return the pagination footer.
  *
  * @return  string  Pagination footer.
  *
  * @since   1.0
  */
 public function getListFooter()
 {
     $app = JFactory::getApplication();
     $list = array();
     $list['prefix'] = $this->prefix;
     $list['limit'] = $this->limit;
     $list['limitstart'] = $this->limitstart;
     $list['total'] = $this->total;
     $list['limitfield'] = $this->getLimitBox();
     $list['pagescounter'] = $this->getPagesCounter();
     $list['pageslinks'] = $this->getPagesLinks();
     $list['formName'] = $this->get('formName');
     // For the backend we force our html.
     if (JFactory::getApplication()->isSite()) {
         $chromePath = JPATH_THEMES . '/' . $app->getTemplate() . '/html/pagination.php';
         if (file_exists($chromePath)) {
             include_once $chromePath;
             if (function_exists('pagination_list_footer')) {
                 return pagination_list_footer($list);
             }
         }
     }
     return $this->_list_footer($list);
 }
开发者ID:grlf,项目名称:eyedock,代码行数:31,代码来源:pagination.php

示例9: getListFooter

 /**
  * Return the pagination footer.
  *
  * @return  string   Pagination footer.
  *
  * @since   11.1
  */
 public function getListFooter()
 {
     $app = JFactory::getApplication();
     // Yjsg instance
     $yjsg = Yjsg::getInstance();
     $list = array();
     $list['prefix'] = $this->prefix;
     $list['limit'] = $this->limit;
     $list['limitstart'] = $this->limitstart;
     $list['total'] = $this->total;
     $list['limitfield'] = $this->getLimitBox();
     $list['pagescounter'] = $this->getPagesCounter();
     $list['pageslinks'] = $this->getPagesLinks();
     $chromePath = JPATH_THEMES . '/' . $app->getTemplate() . '/html/pagination.php';
     //yjsg start
     if (!file_exists($chromePath)) {
         if ($yjsg->preplugin()) {
             $chromePath = YJSGPATH . 'legacy' . YJDS . 'html' . YJDS . 'pagination.php';
         } else {
             $chromePath = YJSGPATH . 'includes' . YJDS . 'html' . YJDS . 'pagination.php';
         }
     }
     //yjsg end
     if (file_exists($chromePath)) {
         include_once $chromePath;
         if (function_exists('pagination_list_footer')) {
             return pagination_list_footer($list);
         }
     }
     return $this->_list_footer($list);
 }
开发者ID:bestlancer,项目名称:yjsg,代码行数:38,代码来源:pagination.php

示例10: getListFooter

 /**
  * Return the pagination footer.
  *
  * @return  string  Pagination footer.
  *
  * @since   1.5
  */
 public function getListFooter()
 {
     // Keep B/C for overrides done with chromes
     $chromePath = JPATH_THEMES . '/' . $this->app->getTemplate() . '/html/pagination.php';
     if (file_exists($chromePath)) {
         include_once $chromePath;
         if (function_exists('pagination_list_footer')) {
             JLog::add('pagination_list_footer is deprecated. Use the layout joomla.pagination.links instead.', JLog::WARNING, 'deprecated');
             $list = array('prefix' => $this->prefix, 'limit' => $this->limit, 'limitstart' => $this->limitstart, 'total' => $this->total, 'limitfield' => $this->getLimitBox(), 'pagescounter' => $this->getPagesCounter(), 'pageslinks' => $this->getPagesLinks());
             return pagination_list_footer($list);
         }
     }
     return $this->getPaginationLinks();
 }
开发者ID:eshiol,项目名称:joomla-cms,代码行数:21,代码来源:pagination.php

示例11: getListFooter

 /**
  * Return the pagination footer.
  *
  * @return  string   Pagination footer.
  *
  * @since   11.1
  */
 public function getListFooter()
 {
     $app = JFactory::getApplication();
     $list = array();
     $list['prefix'] = $this->prefix;
     $list['limit'] = $this->limit;
     $list['limitstart'] = $this->limitstart;
     $list['total'] = $this->total;
     $list['limitfield'] = $this->getLimitBox();
     $list['pagescounter'] = $this->getPagesCounter();
     $list['pageslinks'] = $this->getPagesLinks();
     $chromePath = JPATH_THEMES . '/' . $app->getTemplate() . '/html/pagination.php';
     if (file_exists($chromePath)) {
         include_once $chromePath;
         if (function_exists('pagination_list_footer')) {
             return pagination_list_footer($list);
         }
     }
     /* detect if pagination.php in JSNTPLFramework plugin then override original pagination.php */
     if (!file_exists($chromePath)) {
         $chromePath = JSN_PATH_TPLFRAMEWORK . '/html/pagination.php';
         if (file_exists($chromePath)) {
             include_once $chromePath;
             if (function_exists('pagination_list_footer')) {
                 return pagination_list_footer($list);
             }
         }
     }
     /* detect if pagination.php in JSNTPLFramework plugin then override original pagination.php */
     return $this->_list_footer($list);
 }
开发者ID:jdrzaic,项目名称:joomla-dummy,代码行数:38,代码来源:jsntplpagination.php

示例12: getListFooter

 function getListFooter()
 {
     $mainframe = JFactory::getApplication();
     $list = array();
     $list['limit'] = $this->limit;
     $list['limitstart'] = $this->limitstart;
     $list['total'] = $this->total;
     $list['limitfield'] = $this->getLimitBox();
     $list['pagescounter'] = $this->getPagesCounter();
     $list['pageslinks'] = $this->getPagesLinks();
     if ($this->total < 5) {
         return "";
     }
     $chromePath = JPATH_THEMES . DS . $mainframe->getTemplate() . DS . 'html' . DS . 'pagination.php';
     if ($this->skinstyle == 1 && file_exists($chromePath)) {
         require_once $chromePath;
         if (function_exists('pagination_list_footer')) {
             return pagination_list_footer($list);
         }
     }
     return $this->_list_footer($list);
 }
开发者ID:AxelFG,项目名称:ckbran-inf,代码行数:22,代码来源:paginationex.php

示例13: getListFooter

 /**
  * Return the pagination footer.
  *
  * @return  string  Pagination footer.
  */
 public function getListFooter()
 {
     $list = array();
     $list['limit'] = $this->limit;
     $list['limitstart'] = $this->limitStart;
     $list['total'] = $this->total;
     $list['limitfield'] = $this->getLimitBox();
     $list['pagescounter'] = $this->getPagesCounter();
     $list['pageslinks'] = $this->getPagesLinks();
     $templatePath = $this->application->getContainer()->templatePath;
     $chromePath = $templatePath . '/' . $this->application->getTemplate() . '/php/pagination.php';
     if (file_exists($chromePath)) {
         include_once $chromePath;
         if (function_exists('pagination_list_footer')) {
             return pagination_list_footer($list);
         }
     }
     return $this->_list_footer($list);
 }
开发者ID:edrdesigner,项目名称:awf,代码行数:24,代码来源:Pagination.php


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