Changeset 6573 for trunk/src/includes/extend/buddypress/groups.php
- Timestamp:
- 06/16/2017 09:20:52 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/extend/buddypress/groups.php
r6498 r6573 314 314 * 315 315 * @param object $group (the group to edit if in Group Admin UI) 316 * @uses is_admin() To check if we're in the Group Admin UI317 * @uses bbp_get_template_part()318 316 */ 319 317 public function edit_screen( $group = false ) { … … 380 378 * 381 379 * @param int $group_id (to handle Group Admin UI hook bp_group_admin_edit_after ) 382 * @uses bbp_new_forum_handler() To check for forum creation383 * @uses bbp_edit_forum_handler() To check for forum edit384 380 */ 385 381 public function edit_screen_save( $group_id = 0 ) { … … 489 485 * 490 486 * @since 2.3.0 bbPress (r4814) 491 *492 * @uses add_meta_box493 * @uses BBP_Forums_Group_Extension::group_admin_ui_display_metabox() To display the edit screen494 487 */ 495 488 public function group_admin_ui_edit_screen() { … … 510 503 * 511 504 * @param object $item (group object) 512 * @uses add_meta_box513 * @uses BBP_Forums_Group_Extension::edit_screen() To get the html514 505 */ 515 506 public function group_admin_ui_display_metabox( $item ) { … … 660 651 * 661 652 * @param type $forum_args 662 * @uses bbp_get_forum_id()663 * @uses bp_get_current_group_id()664 * @uses bbp_add_forum_id_to_group()665 * @uses bbp_add_group_id_to_forum()666 653 * @return if no forum_id is available 667 654 */ … … 687 674 * 688 675 * @param type $forum_args 689 * @uses bbp_get_forum_id()690 * @uses bp_get_current_group_id()691 * @uses bbp_add_forum_id_to_group()692 * @uses bbp_add_group_id_to_forum()693 676 * @return if no forum_id is available 694 677 */ … … 714 697 * 715 698 * @param int $group_id The group ID 716 * @uses bbp_get_group_forum_ids()717 * @uses BBP_Forums_Group_Extension::remove_forum()718 699 */ 719 700 public function disconnect_forum_from_group( $group_id = 0 ) { … … 794 775 * @param int $group_id The group to toggle 795 776 * @param bool $enabled True for on, false for off 796 * @uses groups_get_group() To get the group to toggle797 777 * @return False if group is not found, otherwise return the group 798 778 */ … … 834 814 * 835 815 * @since 2.1.0 bbPress (r3653) 836 *837 * @uses bp_get_current_group_id()838 * @uses bbp_get_group_forum_ids()839 * @uses bbp_has_forums()840 * @uses bbp_get_template_part()841 816 */ 842 817 public function display_forums( $offset = 0 ) { … … 1159 1134 * 1160 1135 * @since 2.1.0 bbPress (r3653) 1161 *1162 * @uses groups_get_current_group()1163 * @uses bp_is_group_admin_screen()1164 * @uses trailingslashit()1165 * @uses bp_get_root_domain()1166 * @uses bp_get_groups_root_slug()1167 1136 */ 1168 1137 public function edit_redirect_to( $redirect_url = '' ) { … … 1186 1155 * @since 2.1.0 bbPress (r3746) 1187 1156 */ 1188 1189 1157 public function forum_parent() { 1190 1158 ?> … … 1199 1167 * 1200 1168 * @since 2.1.0 bbPress (r3746) 1201 *1202 * @uses bbp_get_group_forum_ids() to get BuddyPress group forums1203 * @uses bbp_dropdown() To show a dropdown of the forums for forum parent1204 *1205 1169 */ 1206 1170 public function topic_parent() { … … 1222 1186 * 1223 1187 * @param bool $retval Are we allowed to view the reply form? 1224 * @uses bp_is_group() To determine if we're on a group page1225 * @uses is_user_logged_in() To determine if a user is logged in.1226 * @uses bbp_is_user_keymaster() Is the current user a keymaster?1227 * @uses bbp_group_is_member() Is the current user a member of the group?1228 * @uses bbp_group_is_user_banned() Is the current user banned from the group?1229 1188 * 1230 1189 * @return bool … … 1289 1248 * 1290 1249 * @param int $post_id 1291 * @uses get_post()1292 * @uses bbp_is_reply()1293 * @uses bbp_get_reply_topic_id()1294 * @uses bbp_get_reply_forum_id()1295 * @uses bbp_is_topic()1296 * @uses bbp_get_topic_forum_id()1297 * @uses bbp_is_forum()1298 * @uses get_post_field()1299 * @uses bbp_get_forum_group_ids()1300 * @uses groups_get_group()1301 * @uses bp_get_group_admin_permalink()1302 * @uses bp_get_group_permalink()1303 1250 * @return Bail early if not a group forum post 1304 1251 * @return string … … 1361 1308 * @param string $url 1362 1309 * @param int $forum_id 1363 * @uses maybe_map_permalink_to_group()1364 1310 * @return string 1365 1311 */ … … 1375 1321 * @param string $url 1376 1322 * @param int $topic_id 1377 * @uses maybe_map_permalink_to_group()1378 1323 * @return string 1379 1324 */ … … 1389 1334 * @param string $url 1390 1335 * @param int $reply_id 1391 * @uses maybe_map_permalink_to_group()1392 1336 * @return string 1393 1337 */ … … 1403 1347 * @param string $url 1404 1348 * @param int $reply_id 1405 * @uses maybe_map_permalink_to_group()1406 1349 * @return string 1407 1350 */ … … 1424 1367 * @param obj $post 1425 1368 * @param boolean $leavename 1426 * @uses maybe_map_permalink_to_group()1427 1369 * @return string 1428 1370 */ … … 1439 1381 * @param int $post_id 1440 1382 * @param $sample 1441 * @uses maybe_map_permalink_to_group()1442 1383 * @return string 1443 1384 */ … … 1455 1396 * @param $leavename 1456 1397 * @param $sample 1457 * @uses maybe_map_permalink_to_group()1458 1398 * @return string 1459 1399 */ … … 1468 1408 * 1469 1409 * @param array $args 1470 * @uses bbp_get_forum_id()1471 * @uses maybe_map_permalink_to_group1472 1410 * @return array 1473 1411 */ … … 1490 1428 * 1491 1429 * @param array $args 1492 * @uses bbp_get_topic_id()1493 * @uses maybe_map_permalink_to_group1494 1430 * @return array 1495 1431 */ … … 1562 1498 * 1563 1499 * @param array $args Arguments from BBP_BuddyPress_Activity::record_activity() 1564 * @uses groups_get_current_group() To see if we're posting from a BP group1565 1500 * 1566 1501 * @return array
Note: See TracChangeset
for help on using the changeset viewer.