* @version SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $ */ abstract class BasesaSetting extends sfDoctrineRecord { public function setTableDefinition() { $this->setTableName('sa_setting'); $this->hasColumn('name', 'string', 255, array( 'type' => 'string', 'notnull' => true, 'unique' => true, 'length' => 255, )); $this->hasColumn('type', 'string', 255, array( 'type' => 'string', 'notnull' => true, 'default' => 'input', 'length' => 255, )); $this->hasColumn('widget_options', 'clob', null, array( 'type' => 'clob', )); $this->hasColumn('value', 'clob', null, array( 'type' => 'clob', )); $this->hasColumn('setting_group', 'string', 255, array( 'type' => 'string', 'length' => 255, )); $this->option('collate', 'utf8_czech_ci'); $this->option('charset', 'utf8'); } public function setUp() { parent::setUp(); $sluggable0 = new Doctrine_Template_Sluggable(array( 'fields' => array( 0 => 'name', ), )); $this->actAs($sluggable0); } }