本文整理汇总了PHP中Doctrine_UnitTestCase::prepareTables方法的典型用法代码示例。如果您正苦于以下问题:PHP Doctrine_UnitTestCase::prepareTables方法的具体用法?PHP Doctrine_UnitTestCase::prepareTables怎么用?PHP Doctrine_UnitTestCase::prepareTables使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Doctrine_UnitTestCase
的用法示例。
在下文中一共展示了Doctrine_UnitTestCase::prepareTables方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: prepareTables
public function prepareTables()
{
$this->tables = array();
$this->tables[] = 'Email';
parent :: prepareTables();
}
示例2: prepareTables
public function prepareTables()
{
$this->tables[] = "Photo";
$this->tables[] = "Tag";
$this->tables[] = "Phototag";
parent::prepareTables();
}
示例3: prepareTables
public function prepareTables()
{
$this->tables = array();
$this->tables[] = 'T736_Module';
$this->tables[] = 'T736_ModuleDelegate';
parent::prepareTables();
}
示例4: prepareTables
public function prepareTables()
{
//$this->tables = array();
$this->tables[] = 'Ticket_1280_User';
$this->tables[] = 'Ticket_1280_Group';
parent::prepareTables();
}
示例5: prepareTables
public function prepareTables()
{
$this->tables[] = 'T1381_Comment';
$this->tables[] = 'T1381_Article';
parent::prepareTables();
}
示例6: prepareTables
/**
* prepareTables
*/
public function prepareTables()
{
$this->tables = array();
$this->tables[] = 'Author';
$this->tables[] = 'Book';
parent::prepareTables();
}
示例7: prepareTables
public function prepareTables()
{
$this->profiler = new Doctrine_Connection_Profiler();
$this->conn->addListener($this->profiler);
$this->tables = array('VersioningTest', 'VersioningTestVersion', 'VersioningTest2');
parent::prepareTables();
}
示例8: prepareTables
public function prepareTables()
{
$this->tables = array('Record_Country', 'Record_City', 'Record_District', 'Entity',
'User', 'Group', 'Email', 'Phonenumber', 'Groupuser', 'Account');
parent::prepareTables();
}
示例9: prepareTables
public function prepareTables()
{
$this->tables[] = 'Ticket_1818_Foo';
$this->tables[] = 'Ticket_1818_Bar';
$this->tables[] = 'Ticket_1818_BarB';
$this->tables[] = 'Ticket_1818_BarA';
parent::prepareTables();
}
示例10: prepareTables
public function prepareTables()
{
Doctrine_Core::setExtensionsPath(dirname(__FILE__) . '/Extension');
spl_autoload_register(array('Doctrine', 'extensionsAutoload'));
Doctrine_Manager::getInstance()->registerExtension('TestExtension');
$this->tables[] = 'ExtensionBehaviorTest';
parent::prepareTables();
}
示例11: prepareTables
public function prepareTables()
{
$this->tables = array();
$this->tables[] = 'T1';
$this->tables[] = 'T2';
$this->tables[] = 'T3';
parent::prepareTables();
}
示例12: prepareTables
public function prepareTables()
{
$manager = Doctrine_Manager::getInstance();
$manager->setImpl('Ticket_832_UserTemplate', 'Ticket_832_User')->setImpl('Ticket_832_EmailTemplate', 'Ticket_832_Email');
$this->tables[] = 'Ticket_832_User';
$this->tables[] = 'Ticket_832_Email';
parent::prepareTables();
}