Changeset 9993 for trunk/src/bp-notifications/bp-notifications-template.php
- Timestamp:
- 07/04/2015 10:17:42 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-notifications/bp-notifications-template.php
r9819 r9993 2 2 3 3 /** 4 * BuddyPress Notifications Template Functions 4 * BuddyPress Notifications Template Functions. 5 5 * 6 6 * @package BuddyPress … … 206 206 207 207 /** 208 * The $_GET argument used in URLs for determining pagination 208 * The $_GET argument used in URLs for determining pagination. 209 209 * 210 210 * @since BuddyPress (1.9.0) … … 251 251 252 252 /** 253 * The direction to sort the results (ASC or DESC) 253 * The direction to sort the results (ASC or DESC). 254 254 * 255 255 * @since BuddyPress (1.9.0) … … 260 260 261 261 /** 262 * Array of variables used in this notification query 262 * Array of variables used in this notification query. 263 263 * 264 264 * @since BuddyPress (2.2.2) … … 434 434 * 435 435 * @return bool True if there are more notifications to show, 436 * otherwise false.436 * otherwise false. 437 437 */ 438 438 public function notifications() { … … 496 496 * @since BuddyPress (1.9.0) 497 497 * 498 * @param array $args {498 * @param array|string $args { 499 499 * Arguments for limiting the contents of the notifications loop. Can be 500 500 * passed as an associative array, or as a URL query string. … … 503 503 * information on the arguments. In addition, also supports: 504 504 * 505 * @type int $maxOptional. Max items to display. Default: false.505 * @type int $max Optional. Max items to display. Default: false. 506 506 * @type string $page_arg URL argument to use for pagination. 507 * Default: 'npage'.507 * Default: 'npage'. 508 508 * } 509 * 510 * @return bool 509 511 */ 510 512 function bp_has_notifications( $args = '' ) { … … 874 876 875 877 /** 876 * Output the URL used for marking a single notification as read 878 * Output the URL used for marking a single notification as read. 877 879 * 878 880 * Since this function directly outputs a URL, it is escaped. … … 886 888 } 887 889 /** 888 * Return the URL used for marking a single notification as read 890 * Return the URL used for marking a single notification as read. 889 891 * 890 892 * @since BuddyPress (2.1.0) … … 952 954 953 955 /** 954 * Output the URL used for marking a single notification as unread 956 * Output the URL used for marking a single notification as unread. 955 957 * 956 958 * Since this function directly outputs a URL, it is escaped. … … 964 966 } 965 967 /** 966 * Return the URL used for marking a single notification as unread 968 * Return the URL used for marking a single notification as unread. 967 969 * 968 970 * @since BuddyPress (2.1.0) … … 1063 1065 1064 1066 /** 1065 * Output the URL used for deleting a single notification 1067 * Output the URL used for deleting a single notification. 1066 1068 * 1067 1069 * Since this function directly outputs a URL, it is escaped. … … 1076 1078 } 1077 1079 /** 1078 * Return the URL used for deleting a single notification 1080 * Return the URL used for deleting a single notification. 1079 1081 * 1080 1082 * @since BuddyPress (2.1.0) … … 1119 1121 * Output the action links for the current notification. 1120 1122 * 1123 * @param array|string $args Array of arguments. 1121 1124 * @since BuddyPress (1.9.0) 1122 1125 */ … … 1129 1132 * @since BuddyPress (1.9.0) 1130 1133 * 1131 * @param array $args {1134 * @param array|string $args { 1132 1135 * @type string $before HTML before the links. 1133 * @type string $after HTML after the links.1134 * @type string $sep HTML between the links.1135 * @type array $linksArray of links to implode by 'sep'.1136 * @type string $after HTML after the links. 1137 * @type string $sep HTML between the links. 1138 * @type array $links Array of links to implode by 'sep'. 1136 1139 * } 1137 1140 * … … 1232 1235 1233 1236 /** 1234 * Output the form for changing the sort order of notifications 1237 * Output the form for changing the sort order of notifications. 1235 1238 * 1236 1239 * @since BuddyPress (1.9.0)
Note: See TracChangeset
for help on using the changeset viewer.