[ Index ]

PHP Cross Reference of MantisBT

title

Body

[close]

/api/soap/ -> mc_api.php (summary)

(no description)

File Size: 500 lines (15 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 33 functions

  mc_version()
  mci_is_mantis_offline()
  mci_check_login()
  mci_has_readonly_access()
  mci_has_readwrite_access()
  mci_has_access()
  mci_has_administrator_access()
  mci_get_project_id()
  mci_get_project_status_id()
  mci_get_project_view_state_id()
  mci_get_user_id()
  mci_get_user_lang()
  mci_get_status_id()
  mci_get_severity_id()
  mci_get_priority_id()
  mci_get_reproducibility_id()
  mci_get_resolution_id()
  mci_get_projection_id()
  mci_get_eta_id()
  mci_get_view_state_id()
  mci_null_if_empty()
  mci_get_mantis_path()
  mci_get_enum_element()
  mci_user_get_accessible_subprojects()
  translate_category_name_to_id()
  mci_filter_db_get_available_queries()
  mci_category_as_array_by_id()
  mci_project_version_as_array()
  mci_get_time_tracking_from_note()
  mc_error_handler()
  error_get_stack_trace()
  mci_soap_fault_login_failed()
  mci_soap_fault_access_denied()

Functions
Functions that are not part of a class:

mc_version()   X-Ref
Get the MantisConnect webservice version.


mci_is_mantis_offline()   X-Ref
No description

mci_check_login( $p_username, $p_password )   X-Ref
No description

mci_has_readonly_access( $p_user_id, $p_project_id = ALL_PROJECTS )   X-Ref
No description

mci_has_readwrite_access( $p_user_id, $p_project_id = ALL_PROJECTS )   X-Ref
No description

mci_has_access( $p_access_level, $p_user_id, $p_project_id = ALL_PROJECTS )   X-Ref
No description

mci_has_administrator_access( $p_user_id, $p_project_id = ALL_PROJECTS )   X-Ref
No description

mci_get_project_id( $p_project )   X-Ref
No description

mci_get_project_status_id( $p_status )   X-Ref
No description

mci_get_project_view_state_id( $p_view_state )   X-Ref
No description

mci_get_user_id( $p_user )   X-Ref
No description

mci_get_user_lang( $p_user_id )   X-Ref
No description

mci_get_status_id( $p_status )   X-Ref
No description

mci_get_severity_id( $p_severity )   X-Ref
No description

mci_get_priority_id( $p_priority )   X-Ref
No description

mci_get_reproducibility_id( $p_reproducibility )   X-Ref
No description

mci_get_resolution_id( $p_resolution )   X-Ref
No description

mci_get_projection_id( $p_projection )   X-Ref
No description

mci_get_eta_id( $p_eta )   X-Ref
No description

mci_get_view_state_id( $p_view_state )   X-Ref
No description

mci_null_if_empty( $p_value )   X-Ref
No description

mci_get_mantis_path()   X-Ref
Gets the url for MantisBT.

return: MantisBT URL terminated by a /.

mci_get_enum_element( $p_enum_name, $p_val, $p_lang )   X-Ref
No description

mci_user_get_accessible_subprojects( $p_user_id, $p_parent_project_id, $p_lang = null )   X-Ref
No description

translate_category_name_to_id( $p_category_name, $p_project_id )   X-Ref
No description

mci_filter_db_get_available_queries( $p_project_id = null, $p_user_id = null )   X-Ref
Basically this is a copy of core/filter_api.php#filter_db_get_available_queries().
The only difference is that the result of this function is not an array of filter
names but an array of filter structures.


mci_category_as_array_by_id( $p_category_id )   X-Ref
Get a category definition.

param: integer $p_category_id  The id of the category to retrieve.
return: Array an Array containing the id and the name of the category.

mci_project_version_as_array( $p_version )   X-Ref
Transforms a version array into an array suitable for marshalling into ProjectVersionData

param: array $p_version

mci_get_time_tracking_from_note( $p_issue_id, $p_note)   X-Ref
Returns time tracking information from a bug note.

param: int $p_issue_id The id of the issue
param: Array $p_note A note as passed to the soap api methods
return: String the string time entry to be added to the bugnote, in 'HH:mm' format

mc_error_handler( $p_type, $p_error, $p_file, $p_line, $p_context )   X-Ref
No description

error_get_stack_trace()   X-Ref
No description

mci_soap_fault_login_failed()   X-Ref
Returns a soap_fault signalling corresponding to a failed login
situation

return: soap_fault

mci_soap_fault_access_denied( $p_user_id, $p_detail = '' )   X-Ref
Returns a soap_fault signalling that the user does not have
access rights for the specific action.

param: int $p_user_id a valid user id
param: string $p_detail The optional details to append to the error message
return: soap_fault



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