[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-forums/bbpress/bb-includes/ -> functions.bb-template.php (summary)

(no description)

File Size: 3776 lines (116 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 250 functions

  bb_load_template()
  bb_get_template()
  bb_get_default_template()
  bb_get_header()
  bb_language_attributes()
  bb_generator()
  bb_get_generator()
  bb_stylesheet_uri()
  bb_get_stylesheet_uri()
  bb_active_theme_uri()
  bb_get_active_theme_uri()
  bb_get_theme_uri()
  bb_get_footer()
  bb_head()
  bb_rsd_link()
  bb_pingback_link()
  profile_menu()
  login_form()
  search_form()
  bb_post_template()
  post_form()
  edit_form()
  bb_anonymous_post_form()
  alt_class()
  get_alt_class()
  bb_location()
  bb_get_location()
  bb_is_front()
  bb_is_forum()
  bb_is_login_required()
  bb_is_tags()
  bb_is_tag()
  bb_is_topic_edit()
  bb_is_topic()
  bb_is_feed()
  bb_is_search()
  bb_is_profile()
  bb_is_favorites()
  bb_is_view()
  bb_is_statistics()
  bb_is_admin()
  bb_title()
  bb_get_title()
  bb_feed_head()
  bb_get_posts_rss_link()
  bb_get_topics_rss_link()
  bb_view_rss_link()
  bb_get_view_rss_link()
  bb_latest_topics_pages()
  forum_id()
  get_forum_id()
  forum_link()
  get_forum_link()
  forum_name()
  get_forum_name()
  forum_description()
  get_forum_description()
  get_forum_parent()
  get_forum_position()
  bb_get_forum_is_category()
  forum_topics()
  get_forum_topics()
  forum_posts()
  get_forum_posts()
  forum_pages()
  bb_forum_posts_rss_link()
  bb_get_forum_posts_rss_link()
  bb_forum_topics_rss_link()
  bb_get_forum_topics_rss_link()
  bb_get_forum_bread_crumb()
  bb_forum_bread_crumb()
  bb_forums()
  bb_forum()
  bb_forum_pad()
  bb_forum_class()
  bb_get_forum_class_names()
  topic_id()
  get_topic_id()
  topic_link()
  get_topic_link()
  topic_rss_link()
  get_topic_rss_link()
  bb_topic_labels()
  topic_title()
  get_topic_title()
  topic_page_links()
  get_topic_page_links()
  bb_topic_voices()
  bb_get_topic_voices()
  topic_posts()
  get_topic_posts()
  get_topic_deleted_posts()
  topic_noreply()
  topic_last_poster()
  get_topic_last_poster()
  topic_author()
  get_topic_author()
  topic_time()
  get_topic_time()
  topic_start_time()
  get_topic_start_time()
  topic_last_post_link()
  get_topic_last_post_link()
  topic_pages()
  topic_pages_add()
  get_page_number_links()
  bb_topic_admin()
  topic_delete_link()
  bb_get_topic_delete_link()
  topic_close_link()
  bb_get_topic_close_link()
  topic_sticky_link()
  bb_get_topic_sticky_link()
  topic_show_all_link()
  topic_posts_link()
  get_topic_posts_link()
  topic_move_dropdown()
  bb_get_topic_move_dropdown()
  topic_class()
  bb_get_new_topic_link()
  bb_new_topic_link()
  bb_new_topic_forum_dropdown()
  bb_topic_search_form()
  bb_search_pages()
  bb_topic_pagecount()
  bb_get_topic_pagecount()
  bb_is_topic_lastpage()
  post_id()
  get_post_id()
  post_link()
  get_post_link()
  post_anchor_link()
  post_position()
  get_post_position()
  post_position_link()
  get_post_position_link()
  bb_post_meta()
  bb_get_post_meta()
  post_author()
  get_post_author()
  post_author_link()
  post_author_avatar()
  post_author_avatar_link()
  post_text()
  get_post_text()
  bb_post_time()
  bb_get_post_time()
  post_ip()
  get_post_ip()
  bb_post_admin()
  post_ip_link()
  bb_get_post_ip_link()
  post_edit_link()
  bb_get_post_edit_link()
  post_del_class()
  post_delete_link()
  bb_get_post_delete_link()
  bb_post_undelete_link()
  bb_get_post_undelete_link()
  post_author_id()
  get_post_author_id()
  post_author_title()
  get_post_author_title()
  post_author_title_link()
  get_post_author_title_link()
  post_author_type()
  allowed_markup()
  get_allowed_markup()
  bb_get_user_id()
  user_profile_link()
  get_user_profile_link()
  user_delete_button()
  get_user_delete_button()
  profile_tab_link()
  get_profile_tab_link()
  user_link()
  get_user_link()
  full_user_link()
  get_full_user_link()
  user_type_label()
  get_user_type_label()
  user_type()
  get_user_type()
  get_user_name()
  get_user_display_name()
  user_title()
  get_user_title()
  profile_pages()
  bb_profile_data()
  bb_profile_base_content()
  bb_profile_data_form()
  bb_profile_admin_form()
  bb_profile_password_form()
  bb_logout_link()
  bb_get_logout_link()
  bb_admin_link()
  bb_get_admin_link()
  bb_get_user_admin_link()
  bb_profile_link()
  bb_get_profile_link()
  bb_current_user_info()
  bb_get_current_user_info()
  bb_get_user_email()
  topic_tags()
  bb_tag_page_link()
  bb_get_tag_page_link()
  bb_tag_link()
  bb_get_tag_link()
  bb_tag_link_base()
  bb_get_tag_link_base()
  bb_tag_name()
  bb_get_tag_name()
  bb_tag_posts_rss_link()
  bb_get_tag_posts_rss_link()
  bb_tag_topics_rss_link()
  bb_get_tag_topics_rss_link()
  bb_list_tags()
  _bb_list_tag_item()
  tag_form()
  manage_tags_forms()
  bb_tag_remove_link()
  bb_get_tag_remove_link()
  bb_tag_heat_map()
  bb_get_tag_heat_map()
  bb_sort_tag_heat_map()
  tag_pages()
  bb_forum_dropdown()
  bb_get_forum_dropdown()
  favorites_link()
  get_favorites_link()
  user_favorites_link()
  favorites_rss_link()
  get_favorites_rss_link()
  favorites_pages()
  bb_is_subscriptions_active()
  bb_is_user_subscribed()
  bb_user_subscribe_link()
  bb_user_subscribe_checkbox()
  view_name()
  get_view_name()
  view_pages()
  view_link()
  get_view_link()
  _bb_parse_time_function_args()
  _bb_time_function_return()
  bb_template_scripts()
  checked()
  selected()
  disabled()
  __checked_selected_helper()

Functions
Functions that are not part of a class:

bb_load_template( $files, $globals = false, $action_arg = null )   X-Ref
No description

bb_get_template( $file, $default = true )   X-Ref
No description

bb_get_default_template( $file )   X-Ref
No description

bb_get_header()   X-Ref
No description

bb_language_attributes( $xhtml = 0 )   X-Ref
No description

bb_generator( $type = 'xhtml' )   X-Ref
No description

bb_get_generator( $type = 'xhtml' )   X-Ref
No description

bb_stylesheet_uri( $stylesheet = '' )   X-Ref
No description

bb_get_stylesheet_uri( $stylesheet = '' )   X-Ref
No description

bb_active_theme_uri()   X-Ref
No description

bb_get_active_theme_uri()   X-Ref
No description

bb_get_theme_uri( $theme = false )   X-Ref
No description

bb_get_footer()   X-Ref
No description

bb_head()   X-Ref
No description

bb_rsd_link()   X-Ref
Display the link to the Really Simple Discovery service endpoint.

since: 1.0

bb_pingback_link()   X-Ref
Display the link to the pingback service endpoint.

since: 1.0

profile_menu()   X-Ref
No description

login_form()   X-Ref
No description

search_form( $q = '' )   X-Ref
No description

bb_post_template()   X-Ref
No description

post_form( $args = array()   X-Ref
No description

edit_form()   X-Ref
No description

bb_anonymous_post_form()   X-Ref
No description

alt_class( $key, $others = '' )   X-Ref
No description

get_alt_class( $key, $others = '' )   X-Ref
No description

bb_location()   X-Ref
No description

bb_get_location()   X-Ref
No description

bb_is_front()   X-Ref
No description

bb_is_forum()   X-Ref
No description

bb_is_login_required()   X-Ref
Whether a user is required to log in in order to create posts and forums.

return: bool Whether a user must be logged in.

bb_is_tags()   X-Ref
No description

bb_is_tag()   X-Ref
No description

bb_is_topic_edit()   X-Ref
No description

bb_is_topic()   X-Ref
No description

bb_is_feed()   X-Ref
No description

bb_is_search()   X-Ref
No description

bb_is_profile()   X-Ref
No description

bb_is_favorites()   X-Ref
No description

bb_is_view()   X-Ref
No description

bb_is_statistics()   X-Ref
No description

bb_is_admin()   X-Ref
No description

bb_title( $args = '' )   X-Ref
No description

bb_get_title( $args = '' )   X-Ref
No description

bb_feed_head()   X-Ref
No description

bb_get_posts_rss_link($context = 0)   X-Ref
No description

bb_get_topics_rss_link($context = 0)   X-Ref
No description

bb_view_rss_link($view = null, $context = 0)   X-Ref
No description

bb_get_view_rss_link($view = null, $context = 0)   X-Ref
No description

bb_latest_topics_pages( $args = null )   X-Ref
No description

forum_id( $forum_id = 0 )   X-Ref
No description

get_forum_id( $forum_id = 0 )   X-Ref
No description

forum_link( $forum_id = 0, $page = 1, $context = BB_URI_CONTEXT_A_HREF )   X-Ref
No description

get_forum_link( $forum_id = 0, $page = 1, $context = BB_URI_CONTEXT_A_HREF )   X-Ref
No description

forum_name( $forum_id = 0 )   X-Ref
No description

get_forum_name( $forum_id = 0 )   X-Ref
No description

forum_description( $args = null )   X-Ref
No description

get_forum_description( $forum_id = 0 )   X-Ref
No description

get_forum_parent( $forum_id = 0 )   X-Ref
No description

get_forum_position( $forum_id = 0 )   X-Ref
No description

bb_get_forum_is_category( $forum_id = 0 )   X-Ref
No description

forum_topics( $forum_id = 0 )   X-Ref
No description

get_forum_topics( $forum_id = 0 )   X-Ref
No description

forum_posts( $forum_id = 0 )   X-Ref
No description

get_forum_posts( $forum_id = 0 )   X-Ref
No description

forum_pages( $args = null )   X-Ref
No description

bb_forum_posts_rss_link( $forum_id = 0, $context = 0 )   X-Ref
No description

bb_get_forum_posts_rss_link( $forum_id = 0, $context = 0 )   X-Ref
No description

bb_forum_topics_rss_link( $forum_id = 0, $context = 0 )   X-Ref
No description

bb_get_forum_topics_rss_link( $forum_id = 0, $context = 0 )   X-Ref
No description

bb_get_forum_bread_crumb($args = '')   X-Ref
No description

bb_forum_bread_crumb( $args = '' )   X-Ref
No description

bb_forums( $args = '' )   X-Ref
No description

bb_forum()   X-Ref
No description

bb_forum_pad( $pad, $offset = 0 )   X-Ref
No description

bb_forum_class( $args = null )   X-Ref
No description

bb_get_forum_class_names( $args = null )   X-Ref
No description

topic_id( $id = 0 )   X-Ref
No description

get_topic_id( $id = 0 )   X-Ref
No description

topic_link( $id = 0, $page = 1, $context = BB_URI_CONTEXT_A_HREF )   X-Ref
No description

get_topic_link( $id = 0, $page = 1, $context = BB_URI_CONTEXT_A_HREF )   X-Ref
No description

topic_rss_link( $id = 0, $context = 0 )   X-Ref
No description

get_topic_rss_link( $id = 0, $context = 0 )   X-Ref
No description

bb_topic_labels()   X-Ref
No description

topic_title( $id = 0 )   X-Ref
No description

get_topic_title( $id = 0 )   X-Ref
No description

topic_page_links( $id = 0, $args = null )   X-Ref
No description

get_topic_page_links( $id = 0, $args = null )   X-Ref
No description

bb_topic_voices( $id = 0 )   X-Ref
No description

bb_get_topic_voices( $id = 0 )   X-Ref
No description

topic_posts( $id = 0 )   X-Ref
No description

get_topic_posts( $id = 0 )   X-Ref
No description

get_topic_deleted_posts( $id = 0 )   X-Ref
No description

topic_noreply( $title )   X-Ref
No description

topic_last_poster( $id = 0 )   X-Ref
No description

get_topic_last_poster( $id = 0 )   X-Ref
No description

topic_author( $id = 0 )   X-Ref
No description

get_topic_author( $id = 0 )   X-Ref
No description

topic_time( $args = '' )   X-Ref
No description

get_topic_time( $args = '' )   X-Ref
No description

topic_start_time( $args = '' )   X-Ref
No description

get_topic_start_time( $args = '' )   X-Ref
No description

topic_last_post_link( $id = 0 )   X-Ref
No description

get_topic_last_post_link( $id = 0 )   X-Ref
No description

topic_pages( $args = null )   X-Ref
No description

topic_pages_add( $id = 0 )   X-Ref
No description

get_page_number_links( $args )   X-Ref
No description

bb_topic_admin( $args = '' )   X-Ref
No description

topic_delete_link( $args = '' )   X-Ref
No description

bb_get_topic_delete_link( $args = '' )   X-Ref
No description

topic_close_link( $args = '' )   X-Ref
No description

bb_get_topic_close_link( $args = '' )   X-Ref
No description

topic_sticky_link( $args = '' )   X-Ref
No description

bb_get_topic_sticky_link( $args = '' )   X-Ref
No description

topic_show_all_link( $id = 0 )   X-Ref
No description

topic_posts_link( $id = 0 )   X-Ref
No description

get_topic_posts_link( $id = 0 )   X-Ref
No description

topic_move_dropdown( $args = '' )   X-Ref
No description

bb_get_topic_move_dropdown( $args = '' )   X-Ref
No description

topic_class( $class = '', $key = 'topic', $id = 0 )   X-Ref
No description

bb_get_new_topic_link( $args = null )   X-Ref
bb_get_new_topic_link() - Get the link to the form for a new topic

param: mixed The arguments for this function.
return: string The link to the new topic form
since: 1.0

bb_new_topic_link( $args = null )   X-Ref
No description

bb_new_topic_forum_dropdown( $args = '' )   X-Ref
No description

bb_topic_search_form( $args = null, $query_obj = null )   X-Ref
No description

bb_search_pages( $args = null )   X-Ref
No description

bb_topic_pagecount( $topic_id = 0 )   X-Ref
bb_topic_pagecount() - Print the total page count for a topic

param: int $topic_id The topic id of the topic being queried
return: void
since: 0.9

bb_get_topic_pagecount( $topic_id = 0 )   X-Ref
bb_get_topic_pagecount() - Get the total page count for a topic

param: int $topic_id The topic id of the topic being queried
return: int The total number of pages in the topic
since: 0.9

bb_is_topic_lastpage( $topic_id = 0 )   X-Ref
bb_is_topic_lastpage() - Report whether the current page is the last page of a given topic

param: int $topic_id The topic id of the topic being queried
return: boolean True if called on the last page of a topic, otherwise false
since: 0.9

post_id( $post_id = 0 )   X-Ref
No description

get_post_id( $post_id = 0 )   X-Ref
No description

post_link( $post_id = 0 )   X-Ref
No description

get_post_link( $post_id = 0 )   X-Ref
No description

post_anchor_link( $force_full = false )   X-Ref
No description

post_position( $post_id = 0 )   X-Ref
No description

get_post_position( $post_id = 0 )   X-Ref
No description

post_position_link( $topic_id = 0, $position = 1 )   X-Ref
No description

get_post_position_link( $topic_id = 0, $position = 1 )   X-Ref
No description

bb_post_meta( $key, $post_id = 0 )   X-Ref
No description

bb_get_post_meta( $key, $post_id = 0 )   X-Ref
No description

post_author( $post_id = 0 )   X-Ref
No description

get_post_author( $post_id = 0 )   X-Ref
No description

post_author_link( $post_id = 0 )   X-Ref
No description

post_author_avatar( $size = '48', $default = '', $post_id = 0 )   X-Ref
No description

post_author_avatar_link( $size = '48', $default = '', $post_id = 0 )   X-Ref
No description

post_text( $post_id = 0 )   X-Ref
No description

get_post_text( $post_id = 0 )   X-Ref
No description

bb_post_time( $args = '' )   X-Ref
No description

bb_get_post_time( $args = '' )   X-Ref
No description

post_ip( $post_id = 0 )   X-Ref
No description

get_post_ip( $post_id = 0 )   X-Ref
No description

bb_post_admin( $args = null )   X-Ref
No description

post_ip_link( $args = null )   X-Ref
No description

bb_get_post_ip_link( $args = null )   X-Ref
No description

post_edit_link( $args = null )   X-Ref
No description

bb_get_post_edit_link( $args = null )   X-Ref
No description

post_del_class( $post_id = 0 )   X-Ref
No description

post_delete_link( $args = null )   X-Ref
No description

bb_get_post_delete_link( $args = null )   X-Ref
No description

bb_post_undelete_link( $args = null )   X-Ref
No description

bb_get_post_undelete_link( $args = null )   X-Ref
No description

post_author_id( $post_id = 0 )   X-Ref
No description

get_post_author_id( $post_id = 0 )   X-Ref
No description

post_author_title( $post_id = 0 )   X-Ref
No description

get_post_author_title( $post_id = 0 )   X-Ref
No description

post_author_title_link( $post_id = 0 )   X-Ref
No description

get_post_author_title_link( $post_id = 0 )   X-Ref
No description

post_author_type( $post_id = 0 )   X-Ref
No description

allowed_markup( $args = '' )   X-Ref
No description

get_allowed_markup( $args = '' )   X-Ref
No description

bb_get_user_id( $id = 0 )   X-Ref
No description

user_profile_link( $id = 0 , $page = 1, $context = BB_URI_CONTEXT_A_HREF )   X-Ref
No description

get_user_profile_link( $id = 0, $page = 1, $context = BB_URI_CONTEXT_A_HREF )   X-Ref
No description

user_delete_button()   X-Ref
No description

get_user_delete_button()   X-Ref
No description

profile_tab_link( $id = 0, $tab, $page = 1 )   X-Ref
No description

get_profile_tab_link( $id = 0, $tab, $page = 1, $context = BB_URI_CONTEXT_A_HREF )   X-Ref
No description

user_link( $id = 0 )   X-Ref
No description

get_user_link( $id = 0 )   X-Ref
No description

full_user_link( $id = 0 )   X-Ref
No description

get_full_user_link( $id = 0 )   X-Ref
No description

user_type_label( $type )   X-Ref
No description

get_user_type_label( $type )   X-Ref
No description

user_type( $id = 0 )   X-Ref
No description

get_user_type( $id = 0 )   X-Ref
No description

get_user_name( $id = 0 )   X-Ref
No description

get_user_display_name( $id = 0 )   X-Ref
No description

user_title( $id = 0 )   X-Ref
No description

get_user_title( $id = 0 )   X-Ref
No description

profile_pages( $args = null )   X-Ref
No description

bb_profile_data( $id = 0 )   X-Ref
No description

bb_profile_base_content()   X-Ref
No description

bb_profile_data_form( $id = 0 )   X-Ref
No description

bb_profile_admin_form( $id = 0 )   X-Ref
No description

bb_profile_password_form( $id = 0 )   X-Ref
No description

bb_logout_link( $args = '' )   X-Ref
No description

bb_get_logout_link( $args = '' )   X-Ref
No description

bb_admin_link( $args = '' )   X-Ref
No description

bb_get_admin_link( $args = '' )   X-Ref
No description

bb_get_user_admin_link( $user_id = null )   X-Ref
No description

bb_profile_link( $args = '' )   X-Ref
No description

bb_get_profile_link( $args = '' )   X-Ref
No description

bb_current_user_info( $key = '' )   X-Ref
No description

bb_get_current_user_info( $key = '' )   X-Ref
No description

bb_get_user_email( $id )   X-Ref
No description

topic_tags()   X-Ref
No description

bb_tag_page_link()   X-Ref
No description

bb_get_tag_page_link( $context = BB_URI_CONTEXT_A_HREF )   X-Ref
No description

bb_tag_link( $tag_id = 0, $page = 1, $context = BB_URI_CONTEXT_A_HREF )   X-Ref
No description

bb_get_tag_link( $tag_id = 0, $page = 1, $context = BB_URI_CONTEXT_A_HREF )   X-Ref
No description

bb_tag_link_base()   X-Ref
No description

bb_get_tag_link_base()   X-Ref
No description

bb_tag_name( $tag_id = 0 )   X-Ref
No description

bb_get_tag_name( $tag_id = 0 )   X-Ref
No description

bb_tag_posts_rss_link( $tag_id = 0, $context = 0 )   X-Ref
No description

bb_get_tag_posts_rss_link( $tag_id = 0, $context = 0 )   X-Ref
No description

bb_tag_topics_rss_link( $tag_id = 0, $context = 0 )   X-Ref
No description

bb_get_tag_topics_rss_link( $tag_id = 0, $context = 0 )   X-Ref
No description

bb_list_tags( $args = null )   X-Ref
No description

_bb_list_tag_item( $tag, $args )   X-Ref
No description

tag_form( $args = null )   X-Ref
No description

manage_tags_forms()   X-Ref
No description

bb_tag_remove_link( $args = null )   X-Ref
No description

bb_get_tag_remove_link( $args = null )   X-Ref
No description

bb_tag_heat_map( $args = '' )   X-Ref
No description

bb_get_tag_heat_map( $tags, $args = '' )   X-Ref
No description

bb_sort_tag_heat_map( &$tag_counts )   X-Ref
No description

tag_pages( $args = null )   X-Ref
No description

bb_forum_dropdown( $args = '' )   X-Ref
No description

bb_get_forum_dropdown( $args = '' )   X-Ref
No description

favorites_link( $user_id = 0 )   X-Ref
No description

get_favorites_link( $user_id = 0 )   X-Ref
No description

user_favorites_link($add = array()   X-Ref
No description

favorites_rss_link( $id = 0, $context = 0 )   X-Ref
No description

get_favorites_rss_link( $id = 0, $context = 0 )   X-Ref
No description

favorites_pages( $args = null )   X-Ref
No description

bb_is_subscriptions_active()   X-Ref
Checks if subscription is enabled.

return: bool is subscription enabled or not
since: 1.1

bb_is_user_subscribed( $args = null )   X-Ref
Checks if user is subscribed to current topic.

return: bool is user subscribed or not
since: 1.1

bb_user_subscribe_link()   X-Ref
Outputs the subscribe/unsubscibe link.

Checks if user is subscribed and outputs link based on status.

since: 1.1

bb_user_subscribe_checkbox( $args = null )   X-Ref
Outputs the post form subscription checkbox.

Checks if user is subscribed and outputs checkbox based on status.

since: 1.1

view_name( $view = '' )   X-Ref
No description

get_view_name( $_view = '' )   X-Ref
No description

view_pages()   X-Ref
No description

view_link( $_view = false, $page = 1, $context = BB_URI_CONTEXT_A_HREF )   X-Ref
No description

get_view_link( $_view = false, $page = 1, $context = BB_URI_CONTEXT_A_HREF )   X-Ref
No description

_bb_parse_time_function_args( $args )   X-Ref
No description

_bb_time_function_return( $time, $args )   X-Ref
No description

bb_template_scripts()   X-Ref
No description

checked( $checked, $current = true, $echo = true )   X-Ref
Outputs the html checked attribute.

Compares the first two arguments and if identical marks as checked

param: mixed $checked One of the values to compare
param: mixed $current (true) The other value to compare if not just true
param: bool $echo Whether to echo or just return the string
return: string html attribute or empty string
since: 1.1

selected( $selected, $current = true, $echo = true )   X-Ref
Outputs the html selected attribute.

Compares the first two arguments and if identical marks as selected

param: mixed selected One of the values to compare
param: mixed $current (true) The other value to compare if not just true
param: bool $echo Whether to echo or just return the string
return: string html attribute or empty string
since: 1.1

disabled( $disabled, $current = true, $echo = true )   X-Ref
Outputs the html disabled attribute.

Compares the first two arguments and if identical marks as disabled

param: mixed $disabled One of the values to compare
param: mixed $current (true) The other value to compare if not just true
param: bool $echo Whether to echo or just return the string
return: string html attribute or empty string
since: 1.1

__checked_selected_helper( $helper, $current, $echo, $type )   X-Ref
Private helper function for checked, selected, and disabled.

Compares the first two arguments and if identical marks as $type

param: any $helper One of the values to compare
param: any $current (true) The other value to compare if not just true
param: bool $echo Whether to echo or just return the string
param: string $type The type of checked|selected|disabled we are doing
return: string html attribute or empty string
since: 1.1



Generated: Thu Dec 7 01:01:35 2017 Cross-referenced by PHPXref 0.7.1