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

Procedural File: csv_api.php

Source Location: /core/csv_api.php



Page Details:

CSV API Names for formatting functions are csv_format_*, where * corresponds to the field name as return get csv_get_columns() and by the filter 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








csv_escape_string [line 74]

TODO csv_escape_string( $p_str, type $todo)

escape a string before writing it to csv file.



Tags:

access:  public


Parameters

type   $todo   TODO
   $p_str  
[ Top ]



csv_format_additional_information [line 344]

string csv_format_additional_information( string $p_additional_information)

return the additional information



Tags:

return:  formatted additional information
access:  public


Parameters

string   $p_additional_information  
[ Top ]



csv_format_build [line 271]

string csv_format_build( string $p_build)

return the build



Tags:

return:  formatted build
access:  public


Parameters

string   $p_build  
[ Top ]



csv_format_category_id [line 218]

string csv_format_category_id( int $p_category_id)

return the category



Tags:

return:  formatted category string
access:  public


Parameters

int   $p_category_id  
[ Top ]



csv_format_date_submitted [line 228]

string csv_format_date_submitted( string $p_date_submitted)

return the date submitted



Tags:

return:  formatted date
access:  public


Parameters

string   $p_date_submitted  
[ Top ]



csv_format_description [line 324]

string csv_format_description( string $p_description)

return the description



Tags:

return:  formatted description
access:  public


Parameters

string   $p_description   description
[ Top ]



csv_format_due_date [line 394]

string csv_format_due_date( int $p_due_date)

return the due date column



Tags:

access:  public


Parameters

int   $p_due_date  
[ Top ]



csv_format_duplicate_id [line 374]

string csv_format_duplicate_id( int $p_duplicate_id)

return the duplicate bug id



Tags:

return:  formatted bug id
access:  public


Parameters

int   $p_duplicate_id  
[ Top ]



csv_format_eta [line 241]

string csv_format_eta( int $p_eta)

return the eta



Tags:

return:  formatted eta
access:  public


Parameters

int   $p_eta   eta
[ Top ]



csv_format_fixed_in_version [line 188]

string csv_format_fixed_in_version( string $p_fixed_in_version)

return the fixed_in_version



Tags:

return:  formatted fixed in version string
access:  public


Parameters

string   $p_fixed_in_version   fixed in version string
[ Top ]



csv_format_handler_id [line 136]

string csv_format_handler_id( int $p_handler_id)

returns the handler name corresponding to the supplied id



Tags:

return:  formatted user name
access:  public


Parameters

int   $p_handler_id   user id
[ Top ]



csv_format_id [line 106]

string csv_format_id( int $p_bug_id)

format bug id



Tags:

return:  csv formatted bug
access:  public


Parameters

int   $p_bug_id   bug id
[ Top ]



csv_format_last_updated [line 301]

string csv_format_last_updated( string $p_last_updated)

return the last updated date



Tags:

return:  formated last updated string
access:  public


Parameters

string   $p_last_updated   last updated
[ Top ]



csv_format_os [line 251]

string csv_format_os( string $p_os)

return the operating system



Tags:

return:  formatted operating system
access:  public


Parameters

string   $p_os   operating system
[ Top ]



csv_format_os_build [line 261]

string csv_format_os_build( string $p_os_build)

return the os build (os version)



Tags:

return:  formatted operating system build
access:  public


Parameters

string   $p_os_build   operating system build
[ Top ]



csv_format_platform [line 281]

string csv_format_platform( string $p_platform)

return the platform



Tags:

return:  formatted platform
access:  public


Parameters

string   $p_platform   platform
[ Top ]



csv_format_priority [line 148]

string csv_format_priority( int $p_priority)

return the priority string



Tags:

return:  formatted priority string
access:  public


Parameters

int   $p_priority  
[ Top ]



csv_format_projection [line 208]

string csv_format_projection( int $p_projection)

return the projection



Tags:

return:  formatted projection string
access:  public


Parameters

int   $p_projection  
[ Top ]



csv_format_project_id [line 116]

string csv_format_project_id( int $p_project_id)

returns the project name corresponding to the supplied project id.



Tags:

return:  csv formatted project name
access:  public


Parameters

int   $p_project_id   project id
[ Top ]



csv_format_reporter_id [line 126]

string csv_format_reporter_id( int $p_reporter_id)

returns the reporter name corresponding to the supplied id.



Tags:

return:  formatted user name
access:  public


Parameters

int   $p_reporter_id   user id
[ Top ]



csv_format_reproducibility [line 168]

string csv_format_reproducibility( int $p_reproducibility)

return the reproducability string



Tags:

return:  formatted reproducibility string
access:  public


Parameters

int   $p_reproducibility  
[ Top ]



csv_format_resolution [line 364]

string csv_format_resolution( int $p_resolution)

return the resolution string



Tags:

return:  formatted resolution string
access:  public


Parameters

int   $p_resolution   resolution
[ Top ]



csv_format_selection [line 384]

string csv_format_selection( int $p_duplicate_id)

return the selection



Tags:

access:  public


Parameters

int   $p_duplicate_id  
[ Top ]



csv_format_severity [line 158]

string csv_format_severity( int $p_severity)

return the severity string



Tags:

return:  formatted severity string
access:  public


Parameters

int   $p_severity  
[ Top ]



csv_format_status [line 354]

string csv_format_status( string $p_status)

return the status string



Tags:

return:  formatted status
access:  public


Parameters

string   $p_status   status
[ Top ]



csv_format_steps_to_reproduce [line 334]

string csv_format_steps_to_reproduce( string $p_steps_to_reproduce)

return the steps to reproduce



Tags:

return:  formatted steps to reproduce
access:  public


Parameters

string   $p_steps_to_reproduce   steps to reproduce
[ Top ]



csv_format_summary [line 314]

string csv_format_summary( string $p_summary)

return the summary



Tags:

return:  formatted summary
access:  public


Parameters

string   $p_summary   summary
[ Top ]



csv_format_target_version [line 198]

string csv_format_target_version( string $p_target_version)

return the target_version



Tags:

return:  formatted target version string
access:  public


Parameters

string   $p_target_version   target version string
[ Top ]



csv_format_version [line 178]

string csv_format_version( string $p_version)

return the version



Tags:

return:  formatted version string
access:  public


Parameters

string   $p_version   version string
[ Top ]



csv_format_view_state [line 291]

string csv_format_view_state( int $p_view_state)

return the view state (eg: private / public)



Tags:

return:  formatted view state
access:  public


Parameters

int   $p_view_state   view state
[ Top ]



csv_get_columns [line 95]

TODO csv_get_columns( [type $todo = TODO])

An array of column names that are used to identify fields to include and in which order.



Tags:

access:  public


Parameters

type   $todo   TODO
[ Top ]



csv_get_default_filename [line 56]

string csv_get_default_filename( )

if all projects selected, default to <username>.csv, otherwise default to <projectname>.csv.



Tags:

return:  filename
access:  public


[ Top ]



csv_get_newline [line 34]

string csv_get_newline( )

get the csv file new line, can be moved to config in the future



Tags:

return:  containing new line character
access:  public


[ Top ]



csv_get_separator [line 43]

string csv_get_separator( )

get the csv file separator, can be moved to config in the future



Tags:

access:  public


[ Top ]



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