public function setUp()
 {
     parent::setUp();
     $this->hasOne('Projects_Model_Chapter', array('local' => 'chapter_id', 'foreign' => 'id', 'onDelete' => 'CASCADE', 'onUpdate' => 'CASCADE'));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $this->actAs($timestampable0);
 }
Exemple #2
0
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Projects_Model_Episode', array('local' => 'project_episode_id', 'foreign' => 'id', 'onDelete' => 'CASCADE', 'onUpdate' => 'CASCADE'));
     $this->hasOne('User_Model_User', array('local' => 'user_id', 'foreign' => 'id', 'onDelete' => 'CASCADE', 'onUpdate' => 'CASCADE'));
     $this->hasOne('Projects_Model_Task', array('local' => 'project_task_id', 'foreign' => 'id', 'onDelete' => 'CASCADE', 'onUpdate' => 'CASCADE'));
 }
Exemple #3
0
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Projects_Model_Project', array('local' => 'project_id', 'foreign' => 'id', 'onDelete' => 'CASCADE', 'onUpdate' => 'CASCADE'));
     $this->hasMany('Projects_Model_Task', array('local' => 'id', 'foreign' => 'episode_id'));
     $this->hasMany('Projects_Model_EpisodeRelease', array('local' => 'id', 'foreign' => 'episode_id'));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $this->actAs($timestampable0);
 }
Exemple #4
0
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('User_Model_User', array('local' => 'user_id', 'foreign' => 'id', 'onDelete' => 'CASCADE', 'onUpdate' => 'CASCADE'));
     $this->hasMany('News_Model_Comment', array('local' => 'id', 'foreign' => 'news_id'));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $sluggable0 = new Doctrine_Template_Sluggable(array('name' => 'title_slug', 'unique' => true, 'fields' => array(0 => 'title'), 'canUpdate' => true, 'type' => 'string', 'length' => 255));
     $this->actAs($timestampable0);
     $this->actAs($sluggable0);
 }
Exemple #5
0
 public function setUp()
 {
     parent::setUp();
     $this->hasMany('Projects_Model_User', array('local' => 'id', 'foreign' => 'user_id'));
     $this->hasMany('Projects_Model_Leader', array('local' => 'id', 'foreign' => 'user_id'));
     $this->hasMany('Projects_Model_Task', array('local' => 'id', 'foreign' => 'user_id'));
     $this->hasMany('User_Model_Role', array('local' => 'id', 'foreign' => 'user_id'));
     $this->hasMany('User_Model_UserTask', array('local' => 'id', 'foreign' => 'user_id'));
     $this->hasMany('News_Model_News', array('local' => 'id', 'foreign' => 'user_id'));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $this->actAs($timestampable0);
 }
Exemple #6
0
 public function setUp()
 {
     parent::setUp();
     $this->hasMany('Projects_Model_User', array('local' => 'id', 'foreign' => 'project_id'));
     $this->hasMany('Projects_Model_Leader', array('local' => 'id', 'foreign' => 'project_id'));
     $this->hasMany('Projects_Model_TaskType', array('local' => 'id', 'foreign' => 'project_id'));
     $this->hasMany('Projects_Model_Screenshot', array('local' => 'id', 'foreign' => 'project_id'));
     $this->hasMany('Projects_Model_Episode', array('local' => 'id', 'foreign' => 'project_id'));
     $this->hasMany('Projects_Model_Chapter', array('local' => 'id', 'foreign' => 'project_id'));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $sluggable0 = new Doctrine_Template_Sluggable(array('name' => 'name_slug', 'unique' => true, 'fields' => array(0 => 'name'), 'canUpdate' => true, 'type' => 'string', 'length' => 255));
     $this->actAs($timestampable0);
     $this->actAs($sluggable0);
 }
Exemple #7
0
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Projects_Model_Project', array('local' => 'project_id', 'foreign' => 'id', 'onDelete' => 'CASCADE', 'onUpdate' => 'CASCADE'));
 }
Exemple #8
0
 public function setUp()
 {
     parent::setUp();
     $this->hasMany('User_Model_UserTask', array('local' => 'id', 'foreign' => 'task_id'));
 }
Exemple #9
0
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('User_Model_User', array('local' => 'user_id', 'foreign' => 'id', 'onDelete' => 'CASCADE', 'onUpdate' => 'CASCADE'));
 }