Created
December 13, 2011 10:35
-
-
Save thefyfy/1471603 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class baseblog | |
{ | |
require_once(dirname(__FILE__)."/../config.inc.php"); | |
public $m_tblConfig; | |
function __construct() | |
{ | |
global $tblConfig; | |
$this->m_tblConfig = & $tblConfig | |
} | |
public function dumpPre($mixed = null) | |
{ | |
echo "<pre>"; | |
var_dump($mixed); | |
echo "</pre>"; | |
return null; | |
} | |
public function dumpRet($mixed = null) | |
{ | |
ob_start(); | |
var_dump($mixed); | |
$content = ob_get_contents(); | |
ob_end_clean(); | |
return $content; | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment