Example #1
0
/**
 * Gets the formatted notes field.
 * @param BugData $p_bug A bug object.
 * @return string The formatted notes (multi-line).
 */
function excel_format_notes(BugData $p_bug)
{
    $t_notes = bugnote_get_all_visible_as_string($p_bug->id, 'DESC', 0);
    return excel_prepare_string($t_notes);
}
Example #2
0
/**
 * Return the notes associated with the specified bug as a string.
 *
 * @param BugData $p_bug A BugData object.
 * @return string The notes formatted as a string.
 * @access public
 */
function csv_format_notes(BugData $p_bug)
{
    $t_notes = bugnote_get_all_visible_as_string($p_bug->id, 'DESC', 0);
    return csv_escape_string($t_notes);
}
Example #3
0
/**
 * Print column content for notes column
 *
 * @param BugData $p_bug            BugData object.
 * @param integer $p_columns_target See COLUMNS_TARGET_* in constant_inc.php.
 * @return void
 * @access public
 */
function print_column_notes(BugData $p_bug, $p_columns_target = COLUMNS_TARGET_VIEW_PAGE)
{
    $t_notes = bugnote_get_all_visible_as_string($p_bug->id, 'DESC', 0);
    echo '<td class="column-notes">', string_display_links($t_notes), '</td>';
}