Changeset 6573 for trunk/src/includes/common/widgets.php
- Timestamp:
- 06/16/2017 09:20:52 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/widgets.php
r6506 r6573 19 19 * 20 20 * @since 2.0.0 bbPress (r2827) 21 *22 * @uses WP_Widget23 21 */ 24 22 class BBP_Login_Widget extends WP_Widget { … … 30 28 * 31 29 * @since 2.0.0 bbPress (r2827) 32 *33 * @uses apply_filters() Calls 'bbp_login_widget_options' with the34 * widget options35 30 */ 36 31 public function __construct() { … … 47 42 * 48 43 * @since 2.0.0 bbPress (r3389) 49 *50 * @uses register_widget()51 44 */ 52 45 public static function register_widget() { … … 61 54 * @param array $args Arguments 62 55 * @param array $instance Instance 63 * @uses apply_filters() Calls 'bbp_login_widget_title' with the title64 * @uses get_template_part() To get the login/logged in form65 56 */ 66 57 public function widget( $args = array(), $instance = array() ) { … … 174 165 * 175 166 * @param $instance Instance 176 * @uses BBP_Login_Widget::get_field_id() To output the field id177 * @uses BBP_Login_Widget::get_field_name() To output the field name178 167 */ 179 168 public function form( $instance = array() ) { … … 206 195 * 207 196 * @param $instance Instance 208 * @uses bbp_parse_args() To merge widget settings into defaults209 197 */ 210 198 public function parse_settings( $instance = array() ) { … … 223 211 * 224 212 * @since 2.0.0 bbPress (r3020) 225 *226 * @uses WP_Widget227 213 */ 228 214 class BBP_Views_Widget extends WP_Widget { … … 234 220 * 235 221 * @since 2.0.0 bbPress (r3020) 236 *237 * @uses apply_filters() Calls 'bbp_views_widget_options' with the238 * widget options239 222 */ 240 223 public function __construct() { … … 251 234 * 252 235 * @since 2.0.0 bbPress (r3389) 253 *254 * @uses register_widget()255 236 */ 256 237 public static function register_widget() { … … 265 246 * @param array $args Arguments 266 247 * @param array $instance Instance 267 * @uses apply_filters() Calls 'bbp_view_widget_title' with the title268 * @uses bbp_get_views() To get the views269 * @uses bbp_view_url() To output the view url270 * @uses bbp_view_title() To output the view title271 248 */ 272 249 public function widget( $args = array(), $instance = array() ) { … … 332 309 * 333 310 * @param $instance Instance 334 * @uses BBP_Views_Widget::get_field_id() To output the field id335 * @uses BBP_Views_Widget::get_field_name() To output the field name336 311 */ 337 312 public function form( $instance = array() ) { … … 355 330 * 356 331 * @param $instance Instance 357 * @uses bbp_parse_args() To merge widget settings into defaults358 332 */ 359 333 public function parse_settings( $instance = array() ) { … … 370 344 * 371 345 * @since 2.3.0 bbPress (r4579) 372 *373 * @uses WP_Widget374 346 */ 375 347 class BBP_Search_Widget extends WP_Widget { … … 381 353 * 382 354 * @since 2.3.0 bbPress (r4579) 383 *384 * @uses apply_filters() Calls 'bbp_search_widget_options' with the385 * widget options386 355 */ 387 356 public function __construct() { … … 398 367 * 399 368 * @since 2.3.0 bbPress (r4579) 400 *401 * @uses register_widget()402 369 */ 403 370 public static function register_widget() { … … 409 376 * 410 377 * @since 2.3.0 bbPress (r4579) 411 *412 * @uses apply_filters() Calls 'bbp_search_widget_title' with the title413 * @uses get_template_part() To get the search form414 378 */ 415 379 public function widget( $args, $instance ) { … … 461 425 * 462 426 * @param $instance Instance 463 * @uses BBP_Search_Widget::get_field_id() To output the field id464 * @uses BBP_Search_Widget::get_field_name() To output the field name465 427 */ 466 428 public function form( $instance ) { … … 484 446 * 485 447 * @param $instance Instance 486 * @uses bbp_parse_args() To merge widget settings into defaults487 448 */ 488 449 public function parse_settings( $instance = array() ) { … … 499 460 * 500 461 * @since 2.0.0 bbPress (r2653) 501 *502 * @uses WP_Widget503 462 */ 504 463 class BBP_Forums_Widget extends WP_Widget { … … 510 469 * 511 470 * @since 2.0.0 bbPress (r2653) 512 *513 * @uses apply_filters() Calls 'bbp_forums_widget_options' with the514 * widget options515 471 */ 516 472 public function __construct() { … … 527 483 * 528 484 * @since 2.0.0 bbPress (r3389) 529 *530 * @uses register_widget()531 485 */ 532 486 public static function register_widget() { … … 541 495 * @param array $args Arguments 542 496 * @param array $instance Instance 543 * @uses apply_filters() Calls 'bbp_forum_widget_title' with the title544 * @uses get_option() To get the forums per page option545 * @uses current_user_can() To check if the current user can read546 * private() To resety name547 * @uses bbp_has_forums() The main forum loop548 * @uses bbp_forums() To check whether there are more forums available549 * in the loop550 * @uses bbp_the_forum() Loads up the current forum in the loop551 * @uses bbp_forum_permalink() To display the forum permalink552 * @uses bbp_forum_title() To display the forum title553 497 */ 554 498 public function widget( $args, $instance ) { … … 643 587 * 644 588 * @param $instance Instance 645 * @uses BBP_Forums_Widget::get_field_id() To output the field id646 * @uses BBP_Forums_Widget::get_field_name() To output the field name647 589 */ 648 590 public function form( $instance ) { … … 676 618 * 677 619 * @param $instance Instance 678 * @uses bbp_parse_args() To merge widget settings into defaults679 620 */ 680 621 public function parse_settings( $instance = array() ) { … … 692 633 * 693 634 * @since 2.0.0 bbPress (r2653) 694 *695 * @uses WP_Widget696 635 */ 697 636 class BBP_Topics_Widget extends WP_Widget { … … 703 642 * 704 643 * @since 2.0.0 bbPress (r2653) 705 *706 * @uses apply_filters() Calls 'bbp_topics_widget_options' with the707 * widget options708 644 */ 709 645 public function __construct() { … … 720 656 * 721 657 * @since 2.0.0 bbPress (r3389) 722 *723 * @uses register_widget()724 658 */ 725 659 public static function register_widget() { … … 734 668 * @param array $args 735 669 * @param array $instance 736 * @uses apply_filters() Calls 'bbp_topic_widget_title' with the title737 * @uses bbp_topic_permalink() To display the topic permalink738 * @uses bbp_topic_title() To display the topic title739 * @uses bbp_get_topic_last_active_time() To get the topic last active740 * time741 * @uses bbp_get_topic_id() To get the topic id742 670 */ 743 671 public function widget( $args = array(), $instance = array() ) { … … 926 854 * 927 855 * @param $instance Instance 928 * @uses BBP_Topics_Widget::get_field_id() To output the field id929 * @uses BBP_Topics_Widget::get_field_name() To output the field name930 856 */ 931 857 public function form( $instance = array() ) { … … 968 894 * 969 895 * @param $instance Instance 970 * @uses bbp_parse_args() To merge widget options into defaults971 896 */ 972 897 public function parse_settings( $instance = array() ) { … … 988 913 * 989 914 * @since 2.3.0 bbPress (r4509) 990 *991 * @uses WP_Widget992 915 */ 993 916 class BBP_Stats_Widget extends WP_Widget { … … 999 922 * 1000 923 * @since 2.3.0 bbPress (r4509) 1001 *1002 * @uses apply_filters() Calls 'bbp_stats_widget_options' with the1003 * widget options1004 924 */ 1005 925 public function __construct() { … … 1016 936 * 1017 937 * @since 2.3.0 bbPress (r4509) 1018 *1019 * @uses register_widget()1020 938 */ 1021 939 public static function register_widget() { … … 1030 948 * @param array $args Arguments 1031 949 * @param array $instance Instance 1032 *1033 * @uses apply_filters() Calls 'bbp_stats_widget_title' with the title1034 * @uses bbp_get_template_part() To get the content-forum-statistics template1035 950 */ 1036 951 public function widget( $args = array(), $instance = array() ) { … … 1102 1017 * 1103 1018 * @param $instance Instance 1104 * @uses bbp_parse_args() To merge widget settings into defaults1105 1019 */ 1106 1020 public function parse_settings( $instance = array() ) { … … 1117 1031 * 1118 1032 * @since 2.0.0 bbPress (r2653) 1119 *1120 * @uses WP_Widget1121 1033 */ 1122 1034 class BBP_Replies_Widget extends WP_Widget { … … 1128 1040 * 1129 1041 * @since 2.0.0 bbPress (r2653) 1130 *1131 * @uses apply_filters() Calls 'bbp_replies_widget_options' with the1132 * widget options1133 1042 */ 1134 1043 public function __construct() { … … 1145 1054 * 1146 1055 * @since 2.0.0 bbPress (r3389) 1147 *1148 * @uses register_widget()1149 1056 */ 1150 1057 public static function register_widget() { … … 1159 1066 * @param array $args 1160 1067 * @param array $instance 1161 * @uses apply_filters() Calls 'bbp_reply_widget_title' with the title1162 * @uses bbp_get_reply_author_link() To get the reply author link1163 * @uses bbp_get_reply_id() To get the reply id1164 * @uses bbp_get_reply_url() To get the reply url1165 * @uses bbp_get_reply_excerpt() To get the reply excerpt1166 * @uses bbp_get_reply_topic_title() To get the reply topic title1167 * @uses get_the_date() To get the date of the reply1168 * @uses get_the_time() To get the time of the reply1169 1068 */ 1170 1069 public function widget( $args, $instance ) { … … 1296 1195 * 1297 1196 * @param $instance Instance 1298 * @uses BBP_Replies_Widget::get_field_id() To output the field id1299 * @uses BBP_Replies_Widget::get_field_name() To output the field name1300 1197 */ 1301 1198 public function form( $instance = array() ) { … … 1318 1215 * 1319 1216 * @param $instance Instance 1320 * @uses bbp_parse_args() To merge widget settings into defaults1321 1217 */ 1322 1218 public function parse_settings( $instance = array() ) {
Note: See TracChangeset
for help on using the changeset viewer.