Changeset 13399
- Timestamp:
- 01/07/2023 01:31:37 AM (11 months ago)
- Location:
- trunk/src
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-blogs/classes/class-bp-blogs-template.php
r13184 r13399 73 73 */ 74 74 public $pag_links = ''; 75 76 /** 77 * URL argument used for the pagination param. 78 * 79 * @var string 80 */ 81 public $pag_arg; 75 82 76 83 /** -
trunk/src/bp-core/classes/class-bp-component.php
r13395 r13399 31 31 * 32 32 * @internal 33 * @var string $name 33 * 34 * @var string 34 35 */ 35 36 public $name = ''; … … 39 40 * 40 41 * @since 1.5.0 41 * @var string $id42 * @var string 42 43 */ 43 44 public $id = ''; … … 47 48 * 48 49 * @since 1.5.0 49 * @var string $slug50 * @var string 50 51 */ 51 52 public $slug = ''; … … 55 56 * 56 57 * @since 1.5.0 57 * @var bool $has_directory58 * @var bool 58 59 */ 59 60 public $has_directory = false; … … 63 64 * 64 65 * @since 1.5.0 65 * @var string $path66 * @var string 66 67 */ 67 68 public $path = ''; … … 71 72 * 72 73 * @since 1.5.0 73 * @var WP_Query $query74 * @var WP_Query 74 75 */ 75 76 public $query = false; … … 79 80 * 80 81 * @since 1.5.0 81 * @var string $current_id82 * @var string 82 83 */ 83 84 public $current_id = ''; … … 87 88 * 88 89 * @since 1.5.0 89 * @var callable $notification_callback90 * @var callable 90 91 */ 91 92 public $notification_callback = ''; … … 95 96 * 96 97 * @since 1.5.0 97 * @var array $admin_menu98 * @var array 98 99 */ 99 100 public $admin_menu = ''; … … 103 104 * 104 105 * @since 1.6.0 105 * @var string $search_string106 * @var string 106 107 */ 107 108 public $search_string = ''; … … 111 112 * 112 113 * @since 1.6.0 113 * @var string $root_slug114 * @var string 114 115 */ 115 116 public $root_slug = ''; … … 119 120 * 120 121 * @since 2.0.0 121 *122 122 * @var array 123 123 */ … … 128 128 * 129 129 * @since 2.0.0 130 *131 130 * @var array 132 131 */ … … 145 144 * 146 145 * @since 9.0.0 147 *148 146 * @var array 149 147 */ 150 148 public $block_globals = array(); 149 150 /** 151 * Menu position of the WP Toolbar's "My Account menu". 152 * 153 * @since 1.5.0 154 * @var int 155 */ 156 public $adminbar_myaccount_order = 90; 157 158 /** 159 * An array of feature names. 160 * 161 * @since 1.5.0 162 * @var string[] 163 */ 164 public $features = array(); 165 166 /** 167 * Component's directory title. 168 * 169 * @since 2.0.0 170 * @var string 171 */ 172 public $directory_title = ''; 151 173 152 174 /** Methods ***************************************************************/ … … 200 222 $this->search_query_arg = sanitize_title( $params['search_query_arg'] ); 201 223 } 202 203 // Set defaults if not passed.204 } else {205 // New component menus are added before the settings menu if not set.206 $this->adminbar_myaccount_order = 90;207 224 } 208 225 -
trunk/src/bp-groups/classes/class-bp-group-extension.php
r13101 r13399 224 224 public $template_file = 'groups/single/plugins'; 225 225 226 /** 227 * The template file. 228 * 229 * @since 1.1.0 230 * @var string 231 */ 232 public $edit_screen_template; 233 226 234 /** Protected *********************************************************/ 227 235 -
trunk/src/bp-groups/classes/class-bp-groups-component.php
r13336 r13399 84 84 */ 85 85 public $types = array(); 86 87 /** 88 * Nav for the Group component. 89 * 90 * @since 2.6.0 91 * @var BP_Core_Nav 92 */ 93 public $nav; 86 94 87 95 /** -
trunk/src/bp-groups/classes/class-bp-groups-group-members-template.php
r13372 r13399 64 64 */ 65 65 public $pag_links; 66 67 /** 68 * URL argument used for the pagination param. 69 * 70 * @since 1.0.0 71 * @var string 72 */ 73 public $pag_arg; 74 75 /** 76 * The total number of members. 77 * 78 * @var int 79 */ 80 public $total_member_count; 66 81 67 82 /** -
trunk/src/bp-groups/classes/class-bp-groups-invite-template.php
r13372 r13399 42 42 43 43 /** 44 * List of invites found and their respective data. 45 * 46 * @since 1.1.0 47 * @var array 48 */ 49 public $invite_data = array(); 50 51 /** 44 52 * @since 1.1.0 45 53 * @var bool … … 64 72 */ 65 73 public $pag_links; 74 75 /** 76 * URL argument used for the pagination param. 77 * 78 * @since 1.1.0 79 * @var string 80 */ 81 public $pag_arg; 66 82 67 83 /** -
trunk/src/bp-groups/classes/class-bp-groups-member-suggestions.php
r13372 r13399 38 38 'type' => '', 39 39 ); 40 41 40 42 41 /** -
trunk/src/bp-groups/classes/class-bp-groups-membership-requests-template.php
r13108 r13399 64 64 */ 65 65 public $pag_links; 66 67 /** 68 * URL argument used for the pagination param. 69 * 70 * @since 1.0.0 71 * @var string 72 */ 73 public $pag_arg; 66 74 67 75 /** -
trunk/src/bp-groups/classes/class-bp-groups-template.php
r13184 r13399 22 22 * The loop iterator. 23 23 * 24 * @since 1.2.0 24 25 * @var int 25 * @since 1.2.026 26 */ 27 27 public $current_group = -1; … … 30 30 * The number of groups returned by the paged query. 31 31 * 32 * @since 1.2.0 32 33 * @var int 33 * @since 1.2.034 34 */ 35 35 public $group_count; … … 38 38 * Array of groups located by the query. 39 39 * 40 * @since 1.2.0 40 41 * @var array 41 * @since 1.2.042 42 */ 43 43 public $groups; … … 46 46 * The group object currently being iterated on. 47 47 * 48 * @since 1.2.0 48 49 * @var object 49 * @since 1.2.050 50 */ 51 51 public $group; … … 54 54 * A flag for whether the loop is currently being iterated. 55 55 * 56 * @since 1.2.0 56 57 * @var bool 57 * @since 1.2.058 58 */ 59 59 public $in_the_loop; … … 62 62 * The page number being requested. 63 63 * 64 * @ var string65 * @ since 1.2.064 * @since 1.2.0 65 * @var string 66 66 */ 67 67 public $pag_page; … … 70 70 * The number of items being requested per page. 71 71 * 72 * @ var string73 * @ since 1.2.072 * @since 1.2.0 73 * @var string 74 74 */ 75 75 public $pag_num; 76 76 77 77 /** 78 * URL argument used for the pagination param. 79 * 80 * @since 1.2.0 81 * @var string 82 */ 83 public $pag_arg; 84 85 /** 78 86 * An HTML string containing pagination links. 79 87 * 80 * @ var string81 * @ since 1.2.088 * @since 1.2.0 89 * @var string 82 90 */ 83 91 public $pag_links; … … 86 94 * The total number of groups matching the query parameters. 87 95 * 96 * @since 1.2.0 88 97 * @var int 89 * @since 1.2.090 98 */ 91 99 public $total_group_count; … … 94 102 * Whether the template loop is for a single group page. 95 103 * 104 * @since 1.2.0 96 105 * @var bool 97 * @since 1.2.098 106 */ 99 107 public $single_group = false; … … 102 110 * Field to sort by. 103 111 * 104 * @ var string105 * @ since 1.2.0112 * @since 1.2.0 113 * @var string 106 114 */ 107 115 public $sort_by; … … 110 118 * Sort order. 111 119 * 112 * @ var string113 * @ since 1.2.0120 * @since 1.2.0 121 * @var string 114 122 */ 115 123 public $order; -
trunk/src/bp-members/classes/class-bp-members-component.php
r13336 r13399 27 27 */ 28 28 public $types = array(); 29 30 /** 31 * Main nav arguments. 32 * 33 * @since 2.2.0 34 * @var array 35 */ 36 public $main_nav = array(); 37 38 /** 39 * Main nav arguments. 40 * 41 * @since 2.2.0 42 * @var array 43 */ 44 public $sub_nav = array(); 45 46 /** 47 * Nav for the members component. 48 * 49 * @since 2.2.0 50 * @var BP_Core_Nav 51 */ 52 public $nav; 29 53 30 54 /** -
trunk/src/bp-members/classes/class-bp-signup.php
r13165 r13399 22 22 */ 23 23 public $id; 24 25 /** 26 * ID of the signup which the object relates to. 27 * 28 * @since 2.0.0 29 * @var integer 30 */ 31 public $signup_id; 24 32 25 33 /** -
trunk/src/bp-messages/classes/class-bp-messages-box-template.php
r13148 r13399 38 38 39 39 /** 40 * Total number of threads available to iterate on. 41 * 42 * @var int 43 */ 44 public $thread_count = 0; 45 46 /** 40 47 * Array of threads located by the query. 41 48 * … … 94 101 95 102 /** 103 * URL argument used for the pagination param. 104 * 105 * @var string 106 */ 107 public $pag_arg = ''; 108 109 /** 96 110 * Search terms for limiting the thread query. 97 111 * … … 99 113 */ 100 114 public $search_terms = ''; 115 116 /** 117 * Type of messages to return. Values: 'all', 'read', 'unread'. 118 * 119 * @var string 120 */ 121 public $type = ''; 101 122 102 123 /** -
trunk/src/bp-messages/classes/class-bp-messages-thread-template.php
r13147 r13399 108 108 * Set up the next message and iterate index. 109 109 * 110 * @return BP_Messages_MessageThe next message to iterate over.110 * @return object The next message to iterate over. 111 111 */ 112 112 public function next_message() { -
trunk/src/bp-notifications/classes/class-bp-notifications-template.php
r13147 r13399 75 75 */ 76 76 public $user_id; 77 78 /** 79 * The status of the notification. 80 * 81 * @since 1.9.0 82 * @var bool 83 */ 84 public $is_new; 85 86 /** 87 * The total notification count. 88 * 89 * @since 1.9.0 90 * @var int 91 */ 92 public $notification_count; 77 93 78 94 /** … … 262 278 * @since 1.9.0 263 279 * 264 * @return BP_Notifications_NotificationThe next notification to iterate over.280 * @return object The next notification to iterate over. 265 281 */ 266 282 public function next_notification() { -
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type.php
r13392 r13399 98 98 */ 99 99 public $field_obj = null; 100 101 /** 102 * Field data visibility. 103 * 104 * @since 2.0.0 105 * @var string 106 */ 107 public $visibility; 100 108 101 109 /** -
trunk/src/bp-xprofile/classes/class-bp-xprofile-field.php
r13395 r13399 22 22 * 23 23 * @since 1.0.0 24 * @var int ID of field.24 * @var int 25 25 */ 26 26 public $id; … … 30 30 * 31 31 * @since 1.0.0 32 * @var int Field group ID for field.32 * @var int 33 33 */ 34 34 public $group_id; … … 38 38 * 39 39 * @since 1.0.0 40 * @var int Parent ID of field.40 * @var int 41 41 */ 42 42 public $parent_id; … … 46 46 * 47 47 * @since 1.0.0 48 * @var string Field type.48 * @var string 49 49 */ 50 50 public $type; … … 54 54 * 55 55 * @since 1.0.0 56 * @var string Field name.56 * @var string 57 57 */ 58 58 public $name; … … 62 62 * 63 63 * @since 1.0.0 64 * @var string Field description.64 * @var string 65 65 */ 66 66 public $description; … … 70 70 * 71 71 * @since 1.0.0 72 * @var bool Is field required to be filled out?72 * @var bool 73 73 */ 74 74 public $is_required; … … 78 78 * 79 79 * @since 1.0.0 80 * @var int Can field be deleted?80 * @var int 81 81 */ 82 82 public $can_delete = '1'; … … 86 86 * 87 87 * @since 1.0.0 88 * @var int Field position.88 * @var int 89 89 */ 90 90 public $field_order; … … 94 94 * 95 95 * @since 1.0.0 96 * @var int Option order.96 * @var int 97 97 */ 98 98 public $option_order; … … 102 102 * 103 103 * @since 1.0.0 104 * @var string Order child fields by.104 * @var string 105 105 */ 106 106 public $order_by; … … 110 110 * 111 111 * @since 1.0.0 112 * @var bool Is this the default option for this field?112 * @var bool 113 113 */ 114 114 public $is_default_option; 115 116 /** 117 * Field data visibility. 118 * 119 * @since 1.0.0 120 * @var string 121 */ 122 public $visibility; 115 123 116 124 /** … … 119 127 * @since 1.9.0 120 128 * @since 2.4.0 Property marked protected. Now accessible by magic method or by `get_default_visibility()`. 121 * @var string Default field data visibility.129 * @var string 122 130 */ 123 131 protected $default_visibility; … … 128 136 * @since 2.3.0 129 137 * @since 2.4.0 Property marked protected. Now accessible by magic method or by `get_allow_custom_visibility()`. 130 * @var string Members are allowed/disallowed to modify data visibility.138 * @var string 131 139 */ 132 140 protected $allow_custom_visibility;
Note: See TracChangeset
for help on using the changeset viewer.