1
0
mirror of synced 2024-12-13 22:56:04 +03:00

Initial entry.

This commit is contained in:
Jonathan.Wage 2007-09-19 16:29:49 +00:00
parent d857bfaf70
commit 919ec7141c
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,4 @@
<?php
$dbh = new PDO('sqlite::memory:');
$conn = Doctrine_Manager::connection($dbh);
$manager = Doctrine_Manager::getInstance();

26
playground/models.php Normal file
View File

@ -0,0 +1,26 @@
<?php
Doctrine::loadModels('models');
$manager->setAttribute(Doctrine::ATTR_EXPORT, Doctrine::EXPORT_ALL);
$tables = array('entity',
'entityReference',
'email',
'phonenumber',
'groupuser',
'album',
'song',
'element',
'error',
'description',
'address',
'account',
'task',
'resource',
'assignment',
'resourceType',
'resourceReference');
$conn->export->exportClasses($tables);
require_once('data.php');