1
0
mirror of synced 2024-12-13 22:56:04 +03:00
doctrine2/models/SearchTest.php

17 lines
438 B
PHP
Raw Normal View History

2007-07-20 23:17:58 +04:00
<?php
class SearchTest extends Doctrine_Record
{
public function setTableDefinition()
{
$this->hasColumn('title', 'string', 100);
$this->hasColumn('content', 'string');
}
public function setUp()
{
$options = array('generateFiles' => false,
'fields' => array('title', 'content'));
$this->loadTemplate('Doctrine_Search_Template', $options);
}
}