[ 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. param: int|null $id Optional. The ID of the current notice. since: 1.0.0 |
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. param: array $args { since: 1.0.0 |
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: Thu Nov 21 01:00:57 2024 | Cross-referenced by PHPXref 0.7.1 |