Changeset 30679
- Timestamp:
- 12/01/2014 12:32:19 AM (10 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-list-table.php
r30648 r30679 480 480 * @since 3.1.0 481 481 * @access protected 482 * 483 * @param string $post_type 482 484 */ 483 485 protected function months_dropdown( $post_type ) { … … 536 538 * @since 3.1.0 537 539 * @access protected 540 * 541 * @param string $current_mode 538 542 */ 539 543 protected function view_switcher( $current_mode ) { … … 602 606 * @access protected 603 607 * 608 * @param string $option 609 * @param int $default 604 610 * @return int 605 611 */ … … 630 636 * @since 3.1.0 631 637 * @access protected 638 * 639 * @param string $which 632 640 */ 633 641 protected function pagination( $which ) { … … 930 938 * @since 3.1.0 931 939 * @access protected 940 * @param string $which 932 941 */ 933 942 protected function display_tablenav( $which ) { … … 955 964 * @since 3.1.0 956 965 * @access protected 966 * 967 * @param string $which 957 968 */ 958 969 protected function extra_tablenav( $which ) {} -
trunk/src/wp-admin/includes/class-wp-media-list-table.php
r30661 r30679 105 105 } 106 106 107 /** 108 * @param string $which 109 */ 107 110 protected function extra_tablenav( $which ) { 108 111 if ( 'bar' !== $which ) { … … 147 150 } 148 151 152 /** 153 * @param string $which 154 */ 149 155 protected function pagination( $which ) { 150 global $mode;151 152 156 parent::pagination( $which ); 153 157 } … … 494 498 } 495 499 500 /** 501 * @param WP_Post $post 502 * @param string $att_title 503 */ 496 504 private function _get_row_actions( $post, $att_title ) { 497 505 $actions = array(); -
trunk/src/wp-admin/includes/class-wp-ms-sites-list-table.php
r29707 r30679 147 147 } 148 148 149 /** 150 * @param string $which 151 */ 149 152 protected function pagination( $which ) { 150 153 global $mode; -
trunk/src/wp-admin/includes/class-wp-ms-themes-list-table.php
r30648 r30679 143 143 } 144 144 145 /** 146 * @staticvar string $term 147 * @param WP_Theme $theme 148 * @return bool 149 */ 145 150 public function _search_callback( $theme ) { 146 151 static $term; … … 164 169 165 170 // Not used by any core columns. 171 /** 172 * @global string $orderby 173 * @global string $order 174 * @param array $theme_a 175 * @param array $theme_b 176 * @return int 177 */ 166 178 public function _order_callback( $theme_a, $theme_b ) { 167 179 global $orderby, $order; … … 267 279 } 268 280 281 /** 282 * @global string $status 283 * @global int $page 284 * @global string $s 285 * @global array $totals 286 * @param WP_Theme $theme 287 */ 269 288 public function single_row( $theme ) { 270 289 global $status, $page, $s, $totals; -
trunk/src/wp-admin/includes/class-wp-ms-users-list-table.php
r29206 r30679 103 103 } 104 104 105 /** 106 * @global string $mode 107 * @param string $which 108 */ 105 109 protected function pagination( $which ) { 106 110 global $mode; -
trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php
r30648 r30679 269 269 } 270 270 271 /** 272 * @param string $which 273 */ 271 274 protected function display_tablenav( $which ) { 272 275 if ( $GLOBALS['tab'] === 'featured' ) { … … 307 310 } 308 311 312 /** 313 * @param object $plugin_a 314 * @param object $plugin_b 315 * @return int 316 */ 309 317 private function order_callback( $plugin_a, $plugin_b ) { 310 318 $orderby = $this->orderby; -
trunk/src/wp-admin/includes/class-wp-plugins-list-table.php
r30648 r30679 192 192 } 193 193 194 /** 195 * @staticvar string $term 196 * @param array $plugin 197 * @return boolean 198 */ 194 199 public function _search_callback( $plugin ) { 195 200 static $term; … … 206 211 } 207 212 213 /** 214 * @global string $orderby 215 * @global string $order 216 * @param array $plugin_a 217 * @param array $plugin_b 218 * @return int 219 */ 208 220 public function _order_callback( $plugin_a, $plugin_b ) { 209 221 global $orderby, $order; … … 309 321 } 310 322 323 /** 324 * @global string $status 325 * @param string $which 326 * @return null 327 */ 311 328 public function bulk_actions( $which = '' ) { 312 329 global $status; … … 318 335 } 319 336 337 /** 338 * @global string $status 339 * @param string $which 340 * @return null 341 */ 320 342 protected function extra_tablenav( $which ) { 321 343 global $status; … … 353 375 } 354 376 377 /** 378 * @global string $status 379 * @global int $page 380 * @global string $s 381 * @global array $totals 382 * @param array $item 383 */ 355 384 public function single_row( $item ) { 356 385 global $status, $page, $s, $totals; -
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r30648 r30679 218 218 } 219 219 220 /** 221 * @global int $cat 222 * @param string $which 223 */ 220 224 protected function extra_tablenav( $which ) { 221 225 global $cat; … … 269 273 } 270 274 275 /** 276 * @global string $mode 277 * @param string $which 278 */ 271 279 protected function pagination( $which ) { 272 280 global $mode; … … 376 384 } 377 385 386 /** 387 * @global WP_Query $wp_query 388 * @global int $per_page 389 * @param array $posts 390 * @param int $level 391 */ 378 392 public function display_rows( $posts = array(), $level = 0 ) { 379 393 global $wp_query, $per_page; … … 391 405 } 392 406 407 /** 408 * @global string $mode 409 * @param array $posts 410 * @param int $level 411 */ 393 412 private function _display_rows( $posts, $level = 0 ) { 394 413 global $mode; … … 406 425 } 407 426 427 /** 428 * @global wpdb $wpdb 429 * @param array $pages 430 * @param int $pagenum 431 * @param int $per_page 432 * @return bool|null 433 */ 408 434 private function _display_rows_hierarchical( $pages, $pagenum = 1, $per_page = 20 ) { 409 435 global $wpdb; … … 543 569 } 544 570 571 /** 572 * @global string $mode 573 * @staticvar string $alternate 574 * @param WP_Post $post 575 * @param int $level 576 */ 545 577 public function single_row( $post, $level = 0 ) { 546 578 global $mode; -
trunk/src/wp-admin/includes/class-wp-terms-list-table.php
r30648 r30679 203 203 } 204 204 205 /** 206 * @param string $taxonomy 207 * @param array $terms 208 * @param array $children 209 * @param int $start 210 * @param int $per_page 211 * @param int $count 212 * @param int $parent 213 * @param int $level 214 */ 205 215 private function _rows( $taxonomy, $terms, &$children, $start, $per_page, &$count, $parent = 0, $level = 0 ) { 206 216 … … 251 261 } 252 262 263 /** 264 * @global string $taxonomy 265 * @staticvar string $row_class 266 * @param object $tag 267 * @param int $level 268 */ 253 269 public function single_row( $tag, $level = 0 ) { 254 270 global $taxonomy; … … 265 281 } 266 282 283 /** 284 * @param object $tag 285 * @return string 286 */ 267 287 public function column_cb( $tag ) { 268 288 $default_term = get_option( 'default_' . $this->screen->taxonomy ); … … 275 295 } 276 296 297 /** 298 * @param object $tag 299 * @return string 300 */ 277 301 public function column_name( $tag ) { 278 302 $taxonomy = $this->screen->taxonomy; … … 349 373 } 350 374 375 /** 376 * @param object $tag 377 * @return string 378 */ 351 379 public function column_description( $tag ) { 352 380 return $tag->description; 353 381 } 354 382 383 /** 384 * @param object $tag 385 * @return string 386 */ 355 387 public function column_slug( $tag ) { 356 388 /** This filter is documented in wp-admin/edit-tag-form.php */ … … 358 390 } 359 391 392 /** 393 * @param object $tag 394 * @return string 395 */ 360 396 public function column_posts( $tag ) { 361 397 $count = number_format_i18n( $tag->count ); … … 382 418 } 383 419 420 /** 421 * @param object $tag 422 * @return string 423 */ 384 424 public function column_links( $tag ) { 385 425 $count = number_format_i18n( $tag->count ); … … 389 429 } 390 430 431 /** 432 * @param object $tag 433 * @param string $column_name 434 * @return string 435 */ 391 436 public function column_default( $tag, $column_name ) { 392 437 /** -
trunk/src/wp-admin/includes/class-wp-themes-list-table.php
r30105 r30679 96 96 } 97 97 98 /** 99 * @param string $which 100 * @return null 101 */ 98 102 public function tablenav( $which = 'top' ) { 99 103 if ( $this->get_pagination_arg( 'total_pages' ) <= 1 ) … … 220 224 } 221 225 226 /** 227 * @param WP_Theme $theme 228 * @return bool 229 */ 222 230 public function search_theme( $theme ) { 223 231 // Search the features … … 256 264 * @since 3.4.0 257 265 * @access public 266 * 267 * @param array $extra_args 258 268 */ 259 269 public function _js_vars( $extra_args = array() ) {
Note: See TracChangeset
for help on using the changeset viewer.