CoreAPI
[ class tree: CoreAPI ] [ index: CoreAPI ] [ all elements ]

Procedural File: excel_api.php

Source Location: /core/excel_api.php



Page Details:

Excel API



Tags:

copyright:  Copyright (C) 2002 - 2010 MantisBT Team - mantisbt-dev@lists.sourceforge.net
copyright:  Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
link:  http://www.mantisbt.org








excel_format_additional_information [line 394]

The excel_format_additional_information( $p_additional_information $p_additional_information)

Gets the formatted 'additional information' field.



Tags:

return:  formatted additional information (multi-line).


Parameters

$p_additional_information   $p_additional_information   The additional information field.
[ Top ]



excel_format_bugnotes_count [line 174]

The excel_format_bugnotes_count( $p_bugnotes_count $p_bugnotes_count)

Gets the formatted number of bug notes.



Tags:

return:  number of bug notes.


Parameters

$p_bugnotes_count   $p_bugnotes_count   The number of bug notes.
[ Top ]



excel_format_build [line 322]

the excel_format_build( $p_build $p_build)

Gets the formatted product build,



Tags:

return:  product build.


Parameters

$p_build   $p_build   The product build
[ Top ]



excel_format_category_id [line 295]

the excel_format_category_id( $p_category $p_category_id)

Gets the formatted category.



Tags:

return:  category.


Parameters

$p_category   $p_category_id   The category
[ Top ]



excel_format_column_title [line 53]

The excel_format_column_title( $p_column_title)

Generates a cell XML for a column title.



Tags:

return:  cell xml.


Parameters

   $p_column_title  
[ Top ]



excel_format_custom_field [line 405]

The excel_format_custom_field( $p_issue_id $p_issue_id, $p_project_id $p_project_id, $p_custom_field $p_custom_field)

Gets the formatted value for the specified issue id, project and custom field.



Tags:

return:  custom field value.


Parameters

$p_issue_id   $p_issue_id   The issue id.
$p_project_id   $p_project_id   The project id.
$p_custom_field   $p_custom_field   The custom field name (without 'custom_' prefix).
[ Top ]



excel_format_date_submitted [line 340]

the excel_format_date_submitted( $p_date_submitted $p_date_submitted)

Gets the formatted date submitted.



Tags:

return:  date submitted in short date format.


Parameters

$p_date_submitted   $p_date_submitted   The date submitted
[ Top ]



excel_format_description [line 376]

The excel_format_description( $p_description $p_description)

Gets the formatted description field.



Tags:

return:  formatted description (multi-line).


Parameters

$p_description   $p_description   The description.
[ Top ]



excel_format_due_date [line 426]

The excel_format_due_date( $p_due_date $p_due_date)

Gets the formatted due date.



Tags:

return:  formatted due date.


Parameters

$p_due_date   $p_due_date   The due date.
[ Top ]



excel_format_eta [line 241]

the excel_format_eta( $p_eta $p_eta)

Gets the formatted eta.



Tags:

return:  eta text.


Parameters

$p_eta   $p_eta   eta id.
[ Top ]



excel_format_fixed_in_version [line 277]

the excel_format_fixed_in_version( $p_fixed_in_version $p_fixed_in_version)

Gets the formatted fixed in version.



Tags:

return:  fixed in version.


Parameters

$p_fixed_in_version   $p_fixed_in_version   The product fixed in version
[ Top ]



excel_format_handler_id [line 183]

The excel_format_handler_id( $p_handler_id $p_handler_id)

Gets the formatted handler id.



Tags:

return:  handler user name or empty string.


Parameters

$p_handler_id   $p_handler_id   The handler id.
[ Top ]



excel_format_id [line 147]

The excel_format_id( $p_bug_id $p_bug_id)

Gets the formatted bug id value.



Tags:

return:  bug id prefixed with 0s.


Parameters

$p_bug_id   $p_bug_id   The bug id to be formatted.
[ Top ]



excel_format_last_updated [line 349]

the excel_format_last_updated( $p_last_updated $p_last_updated)

Gets the formatted date last updated.



Tags:

return:  date last updated in short date format.


Parameters

$p_last_updated   $p_last_updated   The date last updated.
[ Top ]



excel_format_os [line 304]

the excel_format_os( $p_os $p_os)

Gets the formatted operating system.



Tags:

return:  operating system.


Parameters

$p_os   $p_os   The operating system
[ Top ]



excel_format_os_build [line 313]

the excel_format_os_build( $p_os $p_os_build)

Gets the formatted operating system build (version).



Tags:

return:  operating system build (version)


Parameters

$p_os   $p_os_build   The operating system build (version)
[ Top ]



excel_format_platform [line 331]

the excel_format_platform( $p_platform $p_platform)

Gets the formatted platform,



Tags:

return:  platform.


Parameters

$p_platform   $p_platform   The platform
[ Top ]



excel_format_priority [line 196]

the excel_format_priority( $p_priority $p_priority)

Gets the formatted priority.



Tags:

return:  priority text.


Parameters

$p_priority   $p_priority   priority id.
[ Top ]



excel_format_projection [line 232]

the excel_format_projection( $p_projection $p_projection)

Gets the formatted projection.



Tags:

return:  projection text.


Parameters

$p_projection   $p_projection   projection id.
[ Top ]



excel_format_project_id [line 156]

The excel_format_project_id( $p_project_id $p_project_id)

Gets the formatted project id value.



Tags:

return:  project name.


Parameters

$p_project_id   $p_project_id   The project id.
[ Top ]



excel_format_reporter_id [line 165]

The excel_format_reporter_id( $p_reporter_id $p_reporter_id)

Gets the formatted reporter id value.



Tags:

return:  reporter user name.


Parameters

$p_reporter_id   $p_reporter_id   The reporter id.
[ Top ]



excel_format_reproducibility [line 214]

the excel_format_reproducibility( $p_reproducibility $p_reproducibility)

Gets the formatted reproducibility.



Tags:

return:  reproducibility text.


Parameters

$p_reproducibility   $p_reproducibility   reproducibility id.
[ Top ]



excel_format_resolution [line 259]

the excel_format_resolution( $p_resolution $p_resolution)

Gets the resolution field.



Tags:

return:  formatted resolution.


Parameters

$p_resolution   $p_resolution   The resolution field.
[ Top ]



excel_format_selection [line 367]

An excel_format_selection( $p_selection $p_param)

Gets the formatted selection.



Tags:

return:  formatted empty string.


Parameters

$p_selection   $p_param   The selection value
[ Top ]



excel_format_severity [line 205]

the excel_format_severity( $p_severity $p_severity)

Gets the formatted severity.



Tags:

return:  severity text.


Parameters

$p_severity   $p_severity   severity id.
[ Top ]



excel_format_status [line 250]

the excel_format_status( $p_status $p_status)

Gets the status field.



Tags:

return:  formatted status.


Parameters

$p_status   $p_status   The status field.
[ Top ]



excel_format_steps_to_reproduce [line 385]

The excel_format_steps_to_reproduce( $p_steps_to_reproduce $p_steps_to_reproduce)

Gets the formatted 'steps to reproduce' field.



Tags:

return:  formatted steps to reproduce (multi-line).


Parameters

$p_steps_to_reproduce   $p_steps_to_reproduce   The steps to reproduce.
[ Top ]



excel_format_summary [line 358]

the excel_format_summary( $p_summary $p_summary)

Gets the summary field.



Tags:

return:  formatted summary.


Parameters

$p_summary   $p_summary   The summary.
[ Top ]



excel_format_target_version [line 286]

the excel_format_target_version( $p_target_version $p_target_version)

Gets the formatted target version.



Tags:

return:  target version.


Parameters

$p_target_version   $p_target_version   The target version
[ Top ]



excel_format_version [line 268]

the excel_format_version( $p_version $p_version)

Gets the formatted version.



Tags:

return:  product version.


Parameters

$p_version   $p_version   The product version
[ Top ]



excel_format_view_state [line 223]

The excel_format_view_state( $p_view_state $p_view_state)

Gets the formatted view state,



Tags:

return:  view state


Parameters

$p_view_state   $p_view_state   The view state (e.g. public vs. private)
[ Top ]



excel_get_columns [line 131]

column excel_get_columns( )

Gets the columns to be included in the Excel Xml export.



Tags:

return:  names.


[ Top ]



excel_get_default_filename [line 101]

file excel_get_default_filename( )

Gets the download file name for the Excel export. If 'All Projects' selected, default to <username>, otherwise default to <projectname>.



Tags:

return:  name without extension


[ Top ]



excel_get_end_row [line 69]

The excel_get_end_row( )

Generates the xml for the end of an Excel row.



Tags:

return:  Row end tag.


[ Top ]



excel_get_footer [line 45]

the excel_get_footer( )

A method that returns the footer for an Excel Xml file.



Tags:

return:  footer xml.


[ Top ]



excel_get_header [line 32]

the excel_get_header( $p_worksheet_title $p_worksheet_title)

A method that returns the header for an Excel Xml file.



Tags:

return:  header Xml.


Parameters

$p_worksheet_title   $p_worksheet_title   The worksheet title.
[ Top ]



excel_get_start_row [line 61]

The excel_get_start_row( )

Generates the xml for the start of an Excel row.



Tags:

return:  Row tag.


[ Top ]



excel_get_titles_row [line 77]

The excel_get_titles_row( )

Gets an Xml Row that contains all column titles.



Tags:

return:  xml row.


[ Top ]



excel_prepare_string [line 118]

The excel_prepare_string( $p_value $p_value)

Escapes the specified column value and includes it in a Cell Xml.



Tags:

return:  Cell Xml.


Parameters

$p_value   $p_value   The value
[ Top ]



Documentation generated on Sun, 12 Dec 2010 23:50:27 +0900 by phpDocumentor 1.4.3
inserted by FC2 system