ditto/propel-bundle

A Ditto framework bundle for the Propel ORM

dev-master 2013-08-19 09:17 UTC

This package is not auto-updated.

Last update: 2020-08-03 09:58:21 UTC


README

a Ditto bundle

Basic Use

Engine::load()->bundle('Propel')
	->setProject('unit')
	->init();

Using cross project (as in unit)

$loader = new \ClassLoader\Loader;
$loader->registerNamespaceDirectory('Ditto\Propel', $_SERVER['DOCUMENT_ROOT']. '/unit/vendor/ditto/propel-bundle/src/Ditto/Propel');
$loader->setAutoloader();
Engine::load()->bundle('Propel')
	->setProject('unit')
	->forceRoot($_SERVER['DOCUMENT_ROOT'] . '/unit/')
	->init();