<?php
function bowPrintObject($pObject)
{
print("<br><strong>Object to show: </strong><p>
<pre>");print_r($pObject);print("</pre>");
}
function programmingError($pMessage, $pObject = null, $pExtra = null)
{
print("<br><strong>ProgrammingError: </strong><p>
<pre>$pMessage.
<strong>Object:</strong>
");print_r($pObject);
print("<strong>Extra: </strong>
");print_r($pExtra);print("</pre>");
die();
}
function bowWarning($pMessage, $pObject = null, $pExtra = null)
{
print("<br><strong>Warning: </strong><p>
<pre>$pMessage.
<strong>Object:</strong>
");print_r($pObject);
print("<strong>Extra: </strong>
");print_r($pExtra);print("</pre>");
}
?>
|