| [ Index ] |
PHP Cross Reference of BuddyPress |
[Source view] [Print] [Project Stats]
BuddyPress Messages Classes.
| File Size: | 337 lines (8 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
BP_Messages_Notice:: (9 methods):
__construct()
populate()
save()
activate()
deactivate()
delete()
get_notices()
get_total_notice_count()
get_active()
Class: BP_Messages_Notice - X-Ref
BuddyPress Notices class.| __construct( $id = null ) X-Ref |
| Constructor. since: 1.0.0 param: int|null $id Optional. The ID of the current notice. |
| populate() X-Ref |
| Populate method. Runs during constructor. since: 1.0.0 |
| save() X-Ref |
| Saves a notice. return: bool since: 1.0.0 |
| activate() X-Ref |
| Activates a notice. return: bool since: 1.0.0 |
| deactivate() X-Ref |
| Deactivates a notice. return: bool since: 1.0.0 |
| delete() X-Ref |
| Deletes a notice. return: bool since: 1.0.0 |
| get_notices( $args = array() X-Ref |
| Pulls up a list of notices. To get all notices, pass a value of -1 to pag_num. return: array List of notices to display. since: 1.0.0 param: array $args { |
| get_total_notice_count() X-Ref |
| Returns the total number of recorded notices. return: int since: 1.0.0 |
| get_active() X-Ref |
| Returns the active notice that should be displayed on the front end. return: BP_Messages_Notice since: 1.0.0 |
| Generated: Mon Dec 22 01:00:58 2025 | Cross-referenced by PHPXref 0.7.1 |