Using Custom Zend Application Classes from outside
I want to use a custom developed class (within Zend Application) from outside a simple php file.
Like a class ABC (in Zend) i want to use it from outside the zend application like from (some_independent_file.php).
I actually want to write cron jobs and use some methods from my custom developed zend classes which are further dependent on 开发者_如何学Pythonzend classes.
Any help would be appreciated thanks!
require_once 'Zend/Loader/Autoloader.php';
$autoloader = Zend_Loader_Autoloader::getInstance();
//Now here you can use Zend framework any component as you like to use for your cron to work
精彩评论