[ Index ] |
PHP Cross Reference of BuddyPress |
[Source view] [Print] [Project Stats]
BuddyPress Messages Box Template Class.
File Size: | 368 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
BP_Messages_Box_Template:: (6 methods):
__construct()
has_threads()
next_thread()
rewind_threads()
message_threads()
the_message_thread()
Class: BP_Messages_Box_Template - X-Ref
Message Box Template Class__construct( $args = array() X-Ref |
Constructor method. param: array $args { |
has_threads() X-Ref |
Whether there are threads available in the loop. return: bool True if there are items in the loop, otherwise false. |
next_thread() X-Ref |
Set up the next member and iterate index. return: BP_Messages_Thread The next member to iterate over. |
rewind_threads() X-Ref |
Rewind the threads and reset thread index. |
message_threads() X-Ref |
Whether there are threads left in the loop to iterate over. This method is used by {@link bp_message_threads()} as part of the while loop that controls iteration inside the threads loop, eg: while ( bp_message_threads() ) { ... return: bool True if there are more threads to show, otherwise false. |
the_message_thread() X-Ref |
Set up the current thread inside the loop. Used by {@link bp_message_thread()} to set up the current thread data while looping, so that template tags used during that iteration make reference to the current thread. |
Generated: Sun Dec 22 01:00:54 2024 | Cross-referenced by PHPXref 0.7.1 |