Private Method Details |
corban_dear |
private void corban_dear( mixed $val, [ string $name, string $comment, boolean $die, string $internal ] )
|
|
Outputs a debug message.
|
Parameter |
|
|
|
string |
$name |
= >>""<< |
|
Variable name to display |
|
|
string |
$comment |
= >>""<< |
|
Comment for variable |
|
|
boolean |
$die |
= >>false<< |
|
Defines to die or not after displaying |
|
|
string |
$internal |
= >>""<< |
|
Function call type |
|
Returns |
void |
Required global variables |
|
$corban_counter |
Internal calls counter |
|
|
$corban_blabla |
Defines need to output CORBAN_PREFIX |
|
|
$corban_color |
Used colors array |
|
|
corban_die |
private void corban_die( boolean $die )
|
|
Outputs the die message and die a script.
|
Parameter |
|
|
Returns |
void |
Required global variables |
|
$corban_blabla |
Defines need to output CORBAN_PREFIX |
|
|
$corban_color |
Used colors array |
|
|
corban_bold |
private string corban_bold( string $text )
|
|
Applies bold style to text.
|
Parameter |
|
|
Returns |
string Bold formatted text |
|
corban_format |
private string corban_format( string $text, [ string $color, integer $size ] )
|
|
Formats text with specified color and size.
|
Parameter |
|
|
|
string |
$color |
= >>"black"<< |
|
Text color |
|
|
integer |
$size |
= >>8<< |
|
Text size in pt. |
|
Returns |
string Formatted string |
|
corban_scalar |
private void corban_scalar( string $val, string $type, string $prefix )
|
|
Prints a debug message.
|
Parameter |
|
string |
$val |
|
|
Variable value |
|
|
string |
$type |
|
|
Variable type |
|
|
string |
$prefix |
|
|
Output prefix |
|
Returns |
void |
Required global variables |
|
array $corban_color |
Used colors array |
|
|
corban_array |
private void corban_array( array $arr, string $prefix )
|
|
Outputs an array.
|
Parameter |
|
array |
$arr |
|
|
Array to output |
|
|
string |
$prefix |
|
|
Message prefix |
|
Returns |
void |
Required global variables |
|
array $corban_color |
Used colors array |
|
|
corban_unserialize |
private mixed corban_unserialize( string &$varlist )
|
|
Gets and returns a variable from a serialized object or its part.
|
Parameter |
|
string |
&$varlist |
|
|
Serialized object or it's part |
|
Returns |
mixed Unseralized value of object property |
|
corban_object |
private void corban_object( object stdClass $obj, string $prefix )
|
|
Outputs an object.
|
Parameter |
|
object stdClass |
$obj |
|
|
Object to output |
|
|
string |
$prefix |
|
|
Debug prefix |
|
Returns |
void |
Required global variables |
|
array $corban_color |
Used colors array |
|
|
corban_resource |
private void corban_resource( resource $res, string $prefix )
|
|
Outputs a resourse.
|
Parameter |
|
resource |
$res |
|
|
Resource to output |
|
|
string |
$prefix |
|
|
Debug prefix |
|
Returns |
void |
Required global variables |
|
array $corban_color |
Used colors array |
|
|
corban_microtime |
private double corban_microtime( )
|
|
Returns current time in microseconds. Returns current time measured in the number of microseconds since the Unix Epoch (0:00:00 January 1, 1970 GMT).
|
Returns |
double |
|
corban_timer |
private double corban_timer( [ mixed $name ] )
|
|
Returns the specified timer value.
|
Parameter |
|
mixed |
$name |
= >>0<< |
|
Timer name |
|
Returns |
double Specified timer value |
Required global variables |
|
array $corban_timer |
Array of timers |
|
|
corban_inittimer |
private void corban_inittimer( [ mixed $name ] )
|
|
Inits the specified timer.
|
Parameter |
|
mixed |
$name |
= >>0<< |
|
Timer name |
|
Returns |
void |
Required global variables |
|
array $corban_timer |
Array of timers |
|
See Also |
ci(), cs(), corban_showtimer() |
|
corban_showtimer |
private void corban_showtimer( [ mixed $name, string $comment ] )
|
|
Displays timer value.
|
Parameter |
|
mixed |
$name |
= >>0<< |
|
Timer name |
|
|
string |
$comment |
= >>""<< |
|
Some comment text |
|
Returns |
void |
See Also |
corban_inittimer(), ci(), cs() |
|