format('Y-m-d H:i:s')); } elseif($strip === true) { $estring = htmlentities(strip_tags($estring)); } else { return htmlentities($str); } } /** * Encapsulate object instantiation to enable chaining. Given a class this function simply returns the class reference. * @param stdClass $obj * @return stdClass */ public function with(stdClass $obj) { return $obj; } public function dump() { Staple_Dev::Dump(func_get_args()); } } ?>