[ Index ]

PHP Cross Reference of MantisBT

title

Body

[close]

/core/ -> print_api.php (summary)

Print API

Copyright: Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
Copyright: Copyright (C) 2002 - 2011 MantisBT Team - mantisbt-dev@lists.sourceforge.net
File Size: 1624 lines (57 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 75 functions

  print_header_redirect()
  print_header_redirect_view()
  print_successful_redirect_to_bug()
  print_successful_redirect()
  print_avatar()
  print_user()
  print_user_with_subject()
  print_email_input()
  print_captcha_input()
  print_user_option_list()
  print_reporter_option_list()
  print_tag_attach_form()
  print_tag_input()
  print_tag_option_list()
  print_news_item_option_list()
  print_news_entry()
  print_news_entry_from_row()
  print_news_string_by_news_id()
  print_assign_to_option_list()
  print_project_option_list()
  print_subproject_option_list()
  print_profile_option_list()
  print_profile_option_list_for_project()
  print_profile_option_list_from_profiles()
  print_category_option_list()
  print_category_filter_option_list()
  print_platform_option_list()
  print_os_option_list()
  print_os_build_option_list()
  print_version_option_list()
  print_build_option_list()
  print_enum_string_option_list()
  get_status_option_list()
  print_status_option_list()
  print_project_user_option_list()
  print_project_access_levels_option_list()
  print_language_option_list()
  print_all_bug_action_option_list()
  print_project_user_list_option_list()
  print_project_user_list_option_list2()
  print_project_user_list()
  print_custom_field_projects_list()
  print_plugin_priority_list()
  print_bug_link()
  print_formatted_priority_string()
  print_formatted_severity_string()
  print_view_bug_sort_link()
  print_manage_user_sort_link()
  print_manage_project_sort_link()
  print_button()
  print_bracket_link_prepared()
  print_bracket_link()
  print_link()
  print_page_link()
  print_page_links()
  print_email_link()
  get_email_link()
  print_email_link_with_subject()
  get_email_link_with_subject()
  print_hidden_inputs()
  print_hidden_input()
  print_documentation_link()
  print_signup_link()
  print_login_link()
  print_lost_password_link()
  print_file_icon()
  print_rss()
  print_recently_visited()
  get_dropdown()
  print_bug_attachments_list()
  print_bug_attachment()
  print_bug_attachment_header()
  print_bug_attachment_preview_text()
  print_bug_attachment_preview_image()
  print_timezone_option_list()

Functions
Functions that are not part of a class:

print_header_redirect( $p_url, $p_die = true, $p_sanitize = false, $p_absolute = false )   X-Ref
No description

print_header_redirect_view( $p_bug_id )   X-Ref
No description

print_successful_redirect_to_bug( $p_bug_id )   X-Ref
No description

print_successful_redirect( $p_redirect_to )   X-Ref
No description

print_avatar( $p_user_id, $p_size = 80 )   X-Ref
No description

print_user( $p_user_id )   X-Ref
No description

print_user_with_subject( $p_user_id, $p_bug_id )   X-Ref
No description

print_email_input( $p_field_name, $p_email )   X-Ref
No description

print_captcha_input( $p_field_name )   X-Ref
No description

print_user_option_list( $p_user_id, $p_project_id = null, $p_access = ANYBODY )   X-Ref
No description

print_reporter_option_list( $p_user_id, $p_project_id = null )   X-Ref
No description

print_tag_attach_form( $p_bug_id, $p_string = '' )   X-Ref
Print the entire form for attaching a tag to a bug.

param: integer Bug ID
param: string Default contents of the input box

print_tag_input( $p_bug_id = 0, $p_string = '' )   X-Ref
Print the separator comment, input box, and existing tag dropdown menu.

param: integer Bug ID
param: string Default contents of the input box

print_tag_option_list( $p_bug_id = 0 )   X-Ref
Print the dropdown combo-box of existing tags.
When passed a bug ID, the option list will not contain any tags attached to the given bug.

param: integer Bug ID

print_news_item_option_list()   X-Ref
No description

print_news_entry( $p_headline, $p_body, $p_poster_id, $p_view_state, $p_announcement, $p_date_posted )   X-Ref
No description

print_news_entry_from_row( $p_news_row )   X-Ref
No description

print_news_string_by_news_id( $p_news_id )   X-Ref
No description

print_assign_to_option_list( $p_user_id = '', $p_project_id = null, $p_threshold = null )   X-Ref
No description

print_project_option_list( $p_project_id = null, $p_include_all_projects = true, $p_filter_project_id = null, $p_trace = false )   X-Ref
List projects that the current user has access to.

param: integer $p_project_id     The current project id or null to use cookie.
param: bool $p_include_all_projects  true: include "All Projects", otherwise false.
param: mixed $p_filter_project_id  The id of a project to exclude or null.
param: string $p_trace  The current project trace, identifies the sub-project via a path from top to bottom.
return: void

print_subproject_option_list( $p_parent_id, $p_project_id = null, $p_filter_project_id = null, $p_trace = false, $p_parents = Array()   X-Ref
No description

print_profile_option_list( $p_user_id, $p_select_id = '', $p_profiles = null )   X-Ref
No description

print_profile_option_list_for_project( $p_project_id, $p_select_id = '', $p_profiles = null )   X-Ref
No description

print_profile_option_list_from_profiles( $p_profiles, $p_select_id )   X-Ref
No description

print_category_option_list( $p_category_id = 0, $p_project_id = null )   X-Ref
No description

print_category_filter_option_list( $p_category_name = '', $p_project_id = null )   X-Ref
Now that categories are identified by numerical ID, we need an old-style name
based option list to keep existing filter functionality.

param: string $p_category_name The selected category
param: mixed $p_project_id A specific project or null

print_platform_option_list( $p_platform, $p_user_id = null )   X-Ref
No description

print_os_option_list( $p_os, $p_user_id = null )   X-Ref
No description

print_os_build_option_list( $p_os_build, $p_user_id = null )   X-Ref
No description

print_version_option_list( $p_version = '', $p_project_id = null, $p_released = null, $p_leading_blank = true, $p_with_subs = false )   X-Ref
No description

print_build_option_list( $p_build = '' )   X-Ref
No description

print_enum_string_option_list( $p_enum_name, $p_val = 0 )   X-Ref
No description

get_status_option_list( $p_user_auth = 0, $p_current_value = 0, $p_show_current = true, $p_add_close = false, $p_project_id = ALL_PROJECTS )   X-Ref
No description

print_status_option_list( $p_select_label, $p_current_value = 0, $p_allow_close = false, $p_project_id = ALL_PROJECTS )   X-Ref
No description

print_project_user_option_list( $p_project_id = null )   X-Ref
No description

print_project_access_levels_option_list( $p_val, $p_project_id = null )   X-Ref
No description

print_language_option_list( $p_language )   X-Ref
No description

print_all_bug_action_option_list( $p_project_ids = null )   X-Ref
Print a dropdown list of all bug actions available to a user for a specified
set of projects.

param: array $p_projects An array containing one or more project IDs
return: null

print_project_user_list_option_list( $p_project_id = null )   X-Ref
No description

print_project_user_list_option_list2( $p_user_id )   X-Ref
No description

print_project_user_list( $p_user_id, $p_include_remove_link = true )   X-Ref
No description

print_custom_field_projects_list( $p_field_id )   X-Ref
No description

print_plugin_priority_list( $p_priority )   X-Ref
List of priorities that can be assigned to a plugin.

param: int current priority

print_bug_link( $p_bug_id, $p_detail_info = true )   X-Ref
No description

print_formatted_priority_string( $p_status, $p_priority )   X-Ref
No description

print_formatted_severity_string( $p_status, $p_severity )   X-Ref
No description

print_view_bug_sort_link( $p_string, $p_sort_field, $p_sort, $p_dir, $p_columns_target = COLUMNS_TARGET_VIEW_PAGE )   X-Ref
No description

print_manage_user_sort_link( $p_page, $p_string, $p_field, $p_dir, $p_sort_by, $p_hide = 0, $p_filter = ALL )   X-Ref
No description

print_manage_project_sort_link( $p_page, $p_string, $p_field, $p_dir, $p_sort_by )   X-Ref
No description

print_button( $p_action_page, $p_label, $p_args_to_post = null )   X-Ref
No description

print_bracket_link_prepared( $p_link )   X-Ref
No description

print_bracket_link( $p_link, $p_url_text, $p_new_window = false, $p_class = '' )   X-Ref
No description

print_link( $p_link, $p_url_text, $p_new_window = false, $p_class = '' )   X-Ref
No description

print_page_link( $p_page_url, $p_text = '', $p_page_no = 0, $p_page_cur = 0, $p_temp_filter_id = 0 )   X-Ref
No description

print_page_links( $p_page, $p_start, $p_end, $p_current, $p_temp_filter_id = 0 )   X-Ref
No description

print_email_link( $p_email, $p_text )   X-Ref
No description

get_email_link( $p_email, $p_text )   X-Ref
No description

print_email_link_with_subject( $p_email, $p_text, $p_bug_id )   X-Ref
No description

get_email_link_with_subject( $p_email, $p_text, $p_summary )   X-Ref
No description

print_hidden_inputs( $p_assoc_array )   X-Ref
No description

print_hidden_input( $p_field_key, $p_field_val )   X-Ref
No description

print_documentation_link( $p_a_name = '' )   X-Ref
No description

print_signup_link()   X-Ref
No description

print_login_link()   X-Ref
No description

print_lost_password_link()   X-Ref
No description

print_file_icon( $p_filename )   X-Ref
No description

print_rss( $p_feed_url, $p_title = '' )   X-Ref
No description

print_recently_visited()   X-Ref
No description

get_dropdown( $p_control_array, $p_control_name, $p_match = '', $p_add_any = false, $p_multiple = false )   X-Ref
No description

print_bug_attachments_list( $p_bug_id )   X-Ref
Prints the list of visible attachments belonging to a given bug.

param: int $p_bug_id ID of the bug to print attachments list for

print_bug_attachment( $p_attachment )   X-Ref
Prints information about a single attachment including download link, file
size, upload timestamp and an expandable preview for text and image file
types.

param: array $p_attachment An attachment arrray from within the array returned by the file_get_visible_attachments() function

print_bug_attachment_header( $p_attachment )   X-Ref
Prints a single textual line of information about an attachment including download link, file
size and upload timestamp.

param: array $p_attachment An attachment arrray from within the array returned by the file_get_visible_attachments() function

print_bug_attachment_preview_text( $p_attachment )   X-Ref
Prints the preview of a text file attachment.

param: array $p_attachment An attachment arrray from within the array returned by the file_get_visible_attachments() function

print_bug_attachment_preview_image( $p_attachment )   X-Ref
Prints the preview of an image file attachment.

param: array $p_attachment An attachment arrray from within the array returned by the file_get_visible_attachments() function

print_timezone_option_list( $p_timezone )   X-Ref
No description



Generated: Thu Jul 28 15:48:31 2011 Cross-referenced by PHPXref 0.7