public function setUp()
 {
     parent::setUp();
     $this->hasMany('BannerUseImage', array('local' => 'id', 'foreign' => 'banner_id'));
     $i18n0 = new Doctrine_Template_I18n(array('fields' => array(0 => 'caption'), 'length' => 5));
     $this->actAs($i18n0);
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('File', array('local' => 'file_id', 'foreign' => 'id', 'onDelete' => 'cascade', 'owningSide' => true));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $this->actAs($timestampable0);
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasMany('GadgetConfig', array('local' => 'id', 'foreign' => 'gadget_id'));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $this->actAs($timestampable0);
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasMany('ScheduleResource', array('local' => 'id', 'foreign' => 'admin_user_id'));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $this->actAs($timestampable0);
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Member', array('local' => 'member_id', 'foreign' => 'id', 'onDelete' => 'cascade'));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $this->actAs($timestampable0);
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Banner', array('local' => 'banner_id', 'foreign' => 'id'));
     $this->hasOne('BannerImage', array('local' => 'banner_image_id', 'foreign' => 'id'));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $this->actAs($timestampable0);
 }
 public function setUp()
 {
     parent::setUp();
     $i18n0 = new Doctrine_Template_I18n(array('fields' => array(0 => 'caption'), 'length' => 5));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $this->actAs($i18n0);
     $this->actAs($timestampable0);
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('File', array('local' => 'file_id', 'foreign' => 'id', 'onDelete' => 'cascade'));
     $this->hasMany('BannerUseImage', array('local' => 'id', 'foreign' => 'banner_image_id'));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $this->actAs($timestampable0);
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Member', array('local' => 'member_id', 'foreign' => 'id', 'onDelete' => 'cascade'));
     $this->hasOne('AdminUser', array('local' => 'admin_user_id', 'foreign' => 'id', 'onDelete' => 'cascade'));
     $this->hasOne('ResourceType', array('local' => 'resource_type_id', 'foreign' => 'id', 'onDelete' => 'set null'));
     $this->hasMany('ScheduleResourceLock', array('local' => 'id', 'foreign' => 'schedule_resource_id'));
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Diary', array('local' => 'diary_id', 'foreign' => 'id', 'onDelete' => 'cascade'));
     $this->hasOne('Member', array('local' => 'member_id', 'foreign' => 'id', 'onDelete' => 'set null'));
     $this->hasMany('DiaryCommentImage as DiaryCommentImages', array('local' => 'id', 'foreign' => 'diary_comment_id'));
     $timestampable0 = new Doctrine_Template_Timestampable(array());
     $this->actAs($timestampable0);
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasMany('SendMessageData', array('local' => 'id', 'foreign' => 'message_type_id'));
     $i18n0 = new Doctrine_Template_I18n(array('fields' => array(0 => 'caption', 1 => 'info', 2 => 'body', 3 => 'subject'), 'length' => 5));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $this->actAs($i18n0);
     $this->actAs($timestampable0);
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasMany('Community', array('local' => 'id', 'foreign' => 'community_category_id'));
     $nestedset0 = new Doctrine_Template_NestedSet(array('hasManyRoots' => true, 'rootColumnName' => 'tree_key'));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $this->actAs($nestedset0);
     $this->actAs($timestampable0);
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Member', array('local' => 'member_id', 'foreign' => 'id', 'onDelete' => 'cascade'));
     $this->hasMany('ScheduleMember as ScheduleMembers', array('local' => 'id', 'foreign' => 'schedule_id'));
     $this->hasMany('ScheduleResourceLock as ScheduleResourceLocks', array('local' => 'id', 'foreign' => 'schedule_id'));
     $timestampable0 = new Doctrine_Template_Timestampable(array());
     $this->actAs($timestampable0);
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Member', array('local' => 'member_id', 'foreign' => 'id', 'onDelete' => 'set null'));
     $this->hasOne('MessageType', array('local' => 'message_type_id', 'foreign' => 'id'));
     $this->hasMany('MessageFile', array('local' => 'id', 'foreign' => 'message_id'));
     $this->hasMany('MessageSendList', array('local' => 'id', 'foreign' => 'message_id'));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $this->actAs($timestampable0);
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Member', array('local' => 'member_id_to', 'foreign' => 'id', 'onDelete' => 'cascade'));
     $this->hasOne('Member as MemberRelatedByMemberIdFrom', array('local' => 'member_id_from', 'foreign' => 'id', 'onDelete' => 'cascade'));
     $timestampable0 = new Doctrine_Template_Timestampable(array());
     $opactivitycascadingbehavior0 = new opActivityCascadingBehavior(array());
     $this->actAs($timestampable0);
     $this->actAs($opactivitycascadingbehavior0);
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Profile', array('local' => 'profile_id', 'foreign' => 'id', 'onDelete' => 'cascade'));
     $this->hasMany('MemberProfile', array('local' => 'id', 'foreign' => 'profile_option_id'));
     $i18n0 = new Doctrine_Template_I18n(array('fields' => array(0 => 'value'), 'length' => 5));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $this->actAs($i18n0);
     $this->actAs($timestampable0);
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Member', array('local' => 'member_id', 'foreign' => 'id', 'onDelete' => 'cascade'));
     $this->hasOne('File as Image', array('local' => 'file_id', 'foreign' => 'id', 'onDelete' => 'set null'));
     $this->hasMany('OAuthAdminToken', array('local' => 'id', 'foreign' => 'oauth_consumer_id'));
     $this->hasMany('OAuthMemberToken', array('local' => 'id', 'foreign' => 'oauth_consumer_id'));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $this->actAs($timestampable0);
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Member', array('local' => 'member_id', 'foreign' => 'id', 'onDelete' => 'set null'));
     $this->hasOne('CommunityEvent', array('local' => 'community_event_id', 'foreign' => 'id', 'onDelete' => 'cascade'));
     $opcommunitytopicpluginimagesbehavior0 = new opCommunityTopicPluginImagesBehavior();
     $timestampable0 = new Doctrine_Template_Timestampable();
     $this->actAs($opcommunitytopicpluginimagesbehavior0);
     $this->actAs($timestampable0);
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Member', array('local' => 'member_id', 'foreign' => 'id', 'onDelete' => 'cascade'));
     $this->hasOne('Profile', array('local' => 'profile_id', 'foreign' => 'id', 'onDelete' => 'cascade'));
     $this->hasOne('ProfileOption', array('local' => 'profile_option_id', 'foreign' => 'id', 'onDelete' => 'cascade'));
     $nestedset0 = new Doctrine_Template_NestedSet(array('hasManyRoots' => true, 'rootColumnName' => 'tree_key'));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $this->actAs($nestedset0);
     $this->actAs($timestampable0);
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('File', array('local' => 'file_id', 'foreign' => 'id', 'onDelete' => 'set null'));
     $this->hasOne('CommunityCategory', array('local' => 'community_category_id', 'foreign' => 'id', 'onDelete' => 'set null'));
     $this->hasMany('CommunityTopic', array('local' => 'id', 'foreign' => 'community_id'));
     $this->hasMany('CommunityEvent', array('local' => 'id', 'foreign' => 'community_id'));
     $this->hasMany('Tag', array('local' => 'id', 'foreign' => 'community_id'));
     $this->hasMany('CommunityMember', array('local' => 'id', 'foreign' => 'community_id'));
     $this->hasMany('CommunityMemberPosition', array('local' => 'id', 'foreign' => 'community_id'));
     $this->hasMany('CommunityConfig', array('local' => 'id', 'foreign' => 'community_id'));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $this->actAs($timestampable0);
 }
Exemple #21
0
 public function setUp()
 {
     parent::setUp();
     $this->hasMany('DiaryImage as DiaryImages', array('local' => 'id', 'foreign' => 'file_id'));
     $this->hasMany('DiaryCommentImage as DiaryCommentImages', array('local' => 'id', 'foreign' => 'file_id'));
     $this->hasMany('MessageFile', array('local' => 'id', 'foreign' => 'file_id'));
     $this->hasMany('MemberImage', array('local' => 'id', 'foreign' => 'file_id'));
     $this->hasOne('FileBin', array('local' => 'id', 'foreign' => 'file_id'));
     $this->hasMany('Community', array('local' => 'id', 'foreign' => 'file_id'));
     $this->hasMany('OAuthConsumerInformation', array('local' => 'id', 'foreign' => 'file_id'));
     $this->hasMany('BannerImage', array('local' => 'id', 'foreign' => 'file_id'));
     $this->hasMany('ActivityImage', array('local' => 'id', 'foreign' => 'file_id'));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $this->actAs($timestampable0);
 }
 public function setUp()
 {
     parent::setUp();
     $timestampable0 = new Doctrine_Template_Timestampable();
     $this->actAs($timestampable0);
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('TestParent', array('local' => 'test_parent_id', 'foreign' => 'id', 'onDelete' => 'set null'));
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Diary', array('local' => 'diary_id', 'foreign' => 'id', 'onDelete' => 'cascade'));
     $this->hasOne('Member', array('local' => 'member_id', 'foreign' => 'id', 'onDelete' => 'cascade'));
 }
 public function setUp()
 {
     parent::setUp();
     $i18n0 = new Doctrine_Template_I18n(array('fields' => array(0 => 'title', 1 => 'template'), 'length' => 5));
     $this->actAs($i18n0);
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('ScheduleResource', array('local' => 'schedule_resource_id', 'foreign' => 'id', 'onDelete' => 'cascade'));
     $this->hasOne('Schedule', array('local' => 'schedule_id', 'foreign' => 'id', 'onDelete' => 'cascade'));
 }
 public function setUp()
 {
     parent::setUp();
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Member', array('local' => 'member_id', 'foreign' => 'id', 'onDelete' => 'cascade'));
     $this->hasOne('ActivityData as InReplyTo', array('local' => 'in_reply_to_activity_id', 'foreign' => 'id', 'onDelete' => 'cascade'));
     $this->hasMany('ActivityData', array('local' => 'id', 'foreign' => 'in_reply_to_activity_id'));
     $this->hasMany('ActivityImage as Images', array('local' => 'id', 'foreign' => 'activity_data_id'));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $this->actAs($timestampable0);
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Member', array('local' => 'invite_member_id', 'foreign' => 'id', 'onDelete' => 'set null'));
     $this->hasMany('Ashiato', array('local' => 'id', 'foreign' => 'member_id_to'));
     $this->hasMany('Schedule as Schedules', array('local' => 'id', 'foreign' => 'member_id'));
     $this->hasMany('ScheduleMember as ScheduleMembers', array('local' => 'id', 'foreign' => 'member_id'));
     $this->hasMany('ScheduleResource', array('local' => 'id', 'foreign' => 'member_id'));
     $this->hasMany('CommunityTopic', array('local' => 'id', 'foreign' => 'member_id'));
     $this->hasMany('CommunityTopicComment', array('local' => 'id', 'foreign' => 'member_id'));
     $this->hasMany('CommunityEvent', array('local' => 'id', 'foreign' => 'member_id'));
     $this->hasMany('CommunityEventComment', array('local' => 'id', 'foreign' => 'member_id'));
     $this->hasMany('CommunityEventMember', array('local' => 'id', 'foreign' => 'member_id'));
     $this->hasMany('Diary as Diaries', array('local' => 'id', 'foreign' => 'member_id'));
     $this->hasMany('DiaryComment as DiaryComments', array('local' => 'id', 'foreign' => 'member_id'));
     $this->hasMany('DiaryCommentUnread', array('local' => 'id', 'foreign' => 'member_id'));
     $this->hasMany('DiaryCommentUpdate', array('local' => 'id', 'foreign' => 'member_id'));
     $this->hasMany('Nice', array('local' => 'id', 'foreign' => 'member_id'));
     $this->hasMany('SendMessageData', array('local' => 'id', 'foreign' => 'member_id'));
     $this->hasMany('MessageSendList', array('local' => 'id', 'foreign' => 'member_id'));
     $this->hasMany('DeletedMessage', array('local' => 'id', 'foreign' => 'member_id'));
     $this->hasMany('Tag', array('local' => 'id', 'foreign' => 'member_id'));
     $this->hasMany('MemberRelationship', array('local' => 'id', 'foreign' => 'member_id_to'));
     $this->hasMany('MemberImage', array('local' => 'id', 'foreign' => 'member_id'));
     $this->hasMany('MemberProfile', array('local' => 'id', 'foreign' => 'member_id'));
     $this->hasMany('CommunityMember', array('local' => 'id', 'foreign' => 'member_id'));
     $this->hasMany('CommunityMemberPosition', array('local' => 'id', 'foreign' => 'member_id'));
     $this->hasMany('MemberConfig', array('local' => 'id', 'foreign' => 'member_id'));
     $this->hasMany('OAuthConsumerInformation', array('local' => 'id', 'foreign' => 'member_id'));
     $this->hasMany('OAuthMemberToken', array('local' => 'id', 'foreign' => 'member_id'));
     $this->hasMany('OpenIDTrustLog', array('local' => 'id', 'foreign' => 'member_id'));
     $this->hasMany('ActivityData as Activities', array('local' => 'id', 'foreign' => 'member_id'));
     $timestampable0 = new Doctrine_Template_Timestampable(array());
     $opactivatebehavior0 = new opActivateBehavior(array());
     $this->actAs($timestampable0);
     $this->actAs($opactivatebehavior0);
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasMany('ScheduleResource', array('local' => 'id', 'foreign' => 'resource_type_id'));
 }