I'm using DOMPDF in a project of mine and I was wondering how I can call
DOMPDF's autoload function so it can function together with the one from
Zend Framework.
Here's what DOMPDF says:
/**
* DOMPDF autoload function
*
* If you have an existing autoload function, add a call to this function
* from your existing __autoload() implementation.
*
* @param string $class
*/
function DOMPDF_autoload($class) {
$filename = mb_strtolower($class) . ".cls.php";
require_once(DOMPDF_INC_DIR . "/$filename");
}
How exactly can I make it work together with the ZF?
--
View this message in context:
http://www.nabble.com/Calling-external-autoload-function-%E2%80%93-how-to--tp22987919p22987919.html
Sent from the Zend Framework mailing list archive at Nabble.com.