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

Procedural File: error_api.php

Source Location: /core/error_api.php



Page Details:



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
usedby:  event_api.php








error_build_parameter_string [line 326]

string error_build_parameter_string( string $p_param, [bool $p_showtype = true], [int $p_depth = 0])

Build a string describing the parameters to a function



Parameters

string   $p_param  
bool   $p_showtype   default true
int   $p_depth   default 0
[ Top ]



error_handled [line 387]

bool error_handled( )

Check if we have handled an error during this page

Return true if an error has been handled, false otherwise




[ Top ]



error_parameters [line 403]

null error_parameters( )

Set additional info parameters to be used when displaying the next error This function takes a variable number of parameters

When writing internationalized error strings, note that you can change the order of parameters in the string. See the PHP manual page for the sprintf() function for more details.




Tags:

access:  public


[ Top ]



error_print_context [line 249]

null error_print_context( string $p_context)

Print out the variable context given



Parameters

string   $p_context  
[ Top ]



error_print_details [line 224]

null error_print_details( string $p_file, int $p_line, string $p_context)

Print out the error details including context



Parameters

string   $p_file  
int   $p_line  
string   $p_context  
[ Top ]



error_print_stack_trace [line 289]

null error_print_stack_trace( )

Print out a stack trace



Tags:

uses:  error_alternate_class


[ Top ]



error_proceed_url [line 415]

null error_proceed_url( string $p_url)

Set a url to give to the user to proceed after viewing the error



Tags:

access:  public


Parameters

string   $p_url   p_url url given to user after viewing the error
[ Top ]



error_string [line 366]

string error_string( int $p_error)

Return an error string (in the current language) for the given error.



Tags:

access:  public


Parameters

int   $p_error  
[ Top ]



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