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


PHP WP_List_Table::pagination方法代码示例

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


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

示例1: pagination

 function pagination($which)
 {
     global $mode;
     parent::pagination($which);
     if ('top' == $which) {
         $this->view_switcher($mode);
     }
 }
开发者ID:vpatrinica,项目名称:jfdesign,代码行数:8,代码来源:class-wp-ms-users-list-table.php

示例2: pagination

 /**
  * @global string $mode
  * @param string $which
  */
 protected function pagination($which)
 {
     global $mode;
     parent::pagination($which);
     if ('top' == $which && !is_post_type_hierarchical($this->screen->post_type)) {
         $this->view_switcher($mode);
     }
 }
开发者ID:rlgod,项目名称:WordPress,代码行数:12,代码来源:class-wp-posts-list-table.php

示例3: pagination

 function pagination($which)
 {
     global $post_type_object, $mode;
     parent::pagination($which);
     if ('top' == $which && !$post_type_object->hierarchical) {
         $this->view_switcher($mode);
     }
 }
开发者ID:vivekkodira1,项目名称:wordpress,代码行数:8,代码来源:class-wp-posts-list-table.php

示例4: pagination

 function pagination($which)
 {
     parent::pagination($which);
 }
开发者ID:Benrajalu,项目名称:philRaj,代码行数:4,代码来源:class-wpfront-user-role-editor-login-redirect-list-table.php

示例5: pagination

 /**
  * @param string $which
  */
 protected function pagination($which)
 {
     parent::pagination($which);
 }
开发者ID:sb-xs,项目名称:que-pour-elle,代码行数:7,代码来源:class-wp-media-list-table.php

示例6: pagination

 public function pagination($which)
 {
     ob_start();
     parent::pagination($which);
     $output = ob_get_clean();
     if ($this->status == 'all') {
         $string = _x('Total (excluding Incomplete and Declined): %s', 'sales log page total', 'wpsc');
     } else {
         $string = _x('Total: %s', 'sales log page total', 'wpsc');
     }
     $total_amount = ' - ' . sprintf($string, wpsc_currency_display($this->total_amount));
     $total_amount = str_replace('$', '\\$', $total_amount);
     $output = preg_replace('/(<span class="displaying-num">)([^<]+)(<\\/span>)/', '${1}${2}' . ' ' . $total_amount . '${3}', $output);
     echo $output;
 }
开发者ID:dreamteam111,项目名称:dreamteam,代码行数:15,代码来源:purchase-log-list-table-class.php

示例7: pagination

 /**
  * Overload of parent class in order to make the pagination work with the Custom Post Type
  *
  */
 function pagination($which)
 {
     $_SERVER['REQUEST_URI'] = add_query_arg(array('post_type' => WPGFORM_CPT_FORM, 'page' => 'wpgform-entry-log-page'), $_SERVER['REQUEST_URI']);
     parent::pagination($which);
 }
开发者ID:WestBayResidential,项目名称:wbrsorg,代码行数:9,代码来源:wpgform-logging.php

示例8: pagination

 /**
  * Display the pagination, adding view, search and filter arguments
  *
  * @since 1.42
  * 
  * @param	string	'top' | 'bottom'
  * @return	void
  */
 function pagination($which)
 {
     $save_uri = $_SERVER['REQUEST_URI'];
     $_SERVER['REQUEST_URI'] = add_query_arg(self::mla_submenu_arguments(), $save_uri);
     parent::pagination($which);
     $_SERVER['REQUEST_URI'] = $save_uri;
 }
开发者ID:rongandat,项目名称:best-picture,代码行数:15,代码来源:class-mla-list-table.php

示例9: pagination

 /**
  * @global string $mode
  * @param string $which
  */
 protected function pagination($which)
 {
     global $mode;
     parent::pagination($which);
 }
开发者ID:Nikschavan,项目名称:WordPress-1,代码行数:9,代码来源:class-wp-posts-list-table.php


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