* @license Apache License, Version 2.0 */ /** * Template function: Tests if the current user truly has a friend/favorer list * * ... * * @param array $query Optional query for custom template development (see bundled praized-php lib) * @return boolean * @since 0.1 */ function pzdc_has_friends($query = FALSE) { global $PraizedCommunity; return $PraizedCommunity->tpt_has_friends($query); } /** * Template function: Praized equivalent of the WP "the_loop" for the current user friend list, usually used in while loop * * ... * * @param array $query Optional query for custom template development (see bundled praized-php lib) * @return boolean * @since 0.1 */ function pzdc_friends_loop($query = FALSE) { global $PraizedCommunity; return $PraizedCommunity->tpt_friends_loop($query); } /** * Template function: Tests if there is a next entry in the current loop * * ... * * @return boolean * @since 0.1 */ function pzdc_has_next_friend() { global $PraizedCommunity; return $PraizedCommunity->tpt_has_next_friend; } ?>