public function setUp()
 {
     parent::setUp();
     $this->hasOne('Product', array('local' => 'product_id', 'foreign' => 'id', 'onDelete' => 'CASCADE', 'onUpdate' => 'CASCADE'));
     $i18n0 = new Doctrine_Template_I18n(array('fields' => array(0 => 'name')));
     $this->actAs($i18n0);
 }
Esempio n. 2
0
 public function setUp()
 {
     parent::setUp();
     $this->hasMany('BackendModule as BackendModules', array('local' => 'id', 'foreign' => 'frontend_module_id'));
     $this->hasMany('Placeholder', array('local' => 'id', 'foreign' => 'frontend_module_id'));
     $this->hasMany('PlaceholdersVsModules as FrontendModule', array('local' => 'id', 'foreign' => 'frontend_module_id'));
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('sfGuardUser', array('local' => 'user_id', 'foreign' => 'id', 'onDelete' => 'CASCADE'));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $this->actAs($timestampable0);
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('ProductOrder', array('local' => 'order_id', 'foreign' => 'id', 'onDelete' => 'CASCADE', 'onUpdate' => 'CASCADE'));
     $this->hasOne('Product', array('local' => 'product_id', 'foreign' => 'id', 'onDelete' => 'SET NULL', 'onUpdate' => 'SET NULL'));
     $this->hasOne('ProductOrderShipping', array('local' => 'order_shipping_id', 'foreign' => 'id'));
 }
Esempio n. 5
0
 public function setUp()
 {
     parent::setUp();
     $this->hasMany('Banner as Banners', array('local' => 'id', 'foreign' => 'banner_group_id'));
     $this->hasMany('BannerGroupVsStructure as StructureBannerGroups', array('local' => 'id', 'foreign' => 'banner_group_id'));
     $this->hasMany('BannerGroupVsProductGroup as BannerGroups', array('local' => 'id', 'foreign' => 'banner_group_id'));
 }
Esempio n. 6
0
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('NewsGroup', array('local' => 'group_id', 'foreign' => 'id', 'onDelete' => 'CASCADE', 'onUpdate' => 'CASCADE'));
     $sluggable0 = new Doctrine_Template_Sluggable(array('unique' => true, 'fields' => array(0 => 'name'), 'canUpdate' => true));
     $this->actAs($sluggable0);
 }
Esempio n. 7
0
 public function setUp()
 {
     parent::setUp();
     $this->hasMany('ShippingZoneInterval as Intervals', array('local' => 'id', 'foreign' => 'my_zone_id'));
     $i18n0 = new Doctrine_Template_I18n(array('fields' => array(0 => 'name')));
     $this->actAs($i18n0);
 }
Esempio n. 8
0
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Product', array('local' => 'product_id', 'foreign' => 'id', 'onDelete' => 'CASCADE', 'onUpdate' => 'CASCADE'));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $this->actAs($timestampable0);
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Item', array('local' => 'item_id', 'foreign' => 'item_id'));
     $this->hasOne('Collection', array('local' => 'collection_id', 'foreign' => 'collection_id'));
     $this->hasOne('Eperson', array('local' => 'owner', 'foreign' => 'eperson_id'));
     $this->hasMany('Tasklistitem as Tasklistitems', array('local' => 'workflow_id', 'foreign' => 'workflow_id'));
 }
Esempio n. 10
0
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Product', array('local' => 'product_id', 'foreign' => 'id', 'onDelete' => 'CASCADE', 'onUpdate' => 'CASCADE'));
     $this->hasMany('ProductExemplarVsPublicUser as UserProductExemplars', array('local' => 'id', 'foreign' => 'exemplar_id'));
     $i18n0 = new Doctrine_Template_I18n(array('fields' => array(0 => 'comment')));
     $this->actAs($i18n0);
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('sfGuardGroup', array('local' => 'group_id', 'foreign' => 'id', 'onDelete' => 'CASCADE'));
     $this->hasOne('sfGuardPermission', array('local' => 'permission_id', 'foreign' => 'id', 'onDelete' => 'CASCADE'));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $this->actAs($timestampable0);
 }
Esempio n. 12
0
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Bitstream as PrimaryBitstream', array('local' => 'primary_bitstream_id', 'foreign' => 'bitstream_id'));
     $this->hasMany('Item as Items', array('refClass' => 'Item2bundle', 'local' => 'bundle_id', 'foreign' => 'item_id'));
     $this->hasMany('Bitstream as Bitstreams', array('refClass' => 'Bundle2bitstream', 'local' => 'bundle_id', 'foreign' => 'bitstream_id'));
     $this->hasMany('Bundle2bitstream', array('local' => 'bundle_id', 'foreign' => 'bundle_id'));
     $this->hasMany('Item2bundle', array('local' => 'bundle_id', 'foreign' => 'bundle_id'));
 }
Esempio n. 13
0
 public function setUp()
 {
     parent::setUp();
     $this->hasMany('sfGuardUser as users', array('refClass' => 'sfGuardUserGroup', 'local' => 'group_id', 'foreign' => 'user_id'));
     $this->hasMany('sfGuardPermission as permissions', array('refClass' => 'sfGuardGroupPermission', 'local' => 'group_id', 'foreign' => 'permission_id'));
     $this->hasMany('sfGuardGroupPermission', array('local' => 'id', 'foreign' => 'group_id'));
     $this->hasMany('sfGuardUserGroup', array('local' => 'id', 'foreign' => 'group_id'));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $this->actAs($timestampable0);
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Parameter', array('local' => 'param_id', 'foreign' => 'id', 'onDelete' => 'CASCADE', 'onUpdate' => 'CASCADE'));
     $this->hasOne('Product', array('local' => 'product_id', 'foreign' => 'id', 'onDelete' => 'CASCADE', 'onUpdate' => 'CASCADE'));
     $i18n0 = new Doctrine_Template_I18n(array('fields' => array(0 => 'value', 1 => 'filename')));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $userid0 = new Doctrine_Template_Userid(array('created' => array('name' => 'created_by', 'type' => 'integer'), 'updated' => array('name' => 'updated_by', 'type' => 'integer')));
     $this->actAs($i18n0);
     $this->actAs($timestampable0);
     $this->actAs($userid0);
 }
Esempio n. 15
0
 public function setUp()
 {
     parent::setUp();
     $this->hasMany('sfGuardGroup as groups', array('refClass' => 'sfGuardUserGroup', 'local' => 'user_id', 'foreign' => 'group_id'));
     $this->hasMany('sfGuardPermission as permissions', array('refClass' => 'sfGuardUserPermission', 'local' => 'user_id', 'foreign' => 'permission_id'));
     $this->hasOne('AdminUserGroup', array('local' => 'admin_user_group_id', 'foreign' => 'id', 'onDelete' => 'CASCADE'));
     $this->hasMany('sfGuardUserPermission', array('local' => 'id', 'foreign' => 'user_id'));
     $this->hasMany('sfGuardUserGroup', array('local' => 'id', 'foreign' => 'user_id'));
     $this->hasOne('sfGuardRememberKey as RememberKeys', array('local' => 'id', 'foreign' => 'user_id'));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $this->actAs($timestampable0);
 }
Esempio n. 16
0
 public function setUp()
 {
     parent::setUp();
     $this->hasMany('Parameter as Parameters', array('local' => 'id', 'foreign' => 'group_id'));
     $this->hasMany('ProductGroupVsParameterGroup as ProductGroupParameterGroups', array('local' => 'id', 'foreign' => 'paramgroup_id'));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $nestedset0 = new Doctrine_Template_NestedSet();
     $i18n0 = new Doctrine_Template_I18n(array('fields' => array(0 => 'name')));
     $userid0 = new Doctrine_Template_Userid(array('created' => array('name' => 'created_by', 'type' => 'integer'), 'updated' => array('name' => 'updated_by', 'type' => 'integer')));
     $this->actAs($timestampable0);
     $this->actAs($nestedset0);
     $this->actAs($i18n0);
     $this->actAs($userid0);
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasMany('Group2group as Group2groups_ForChild', array('local' => 'eperson_group_id', 'foreign' => 'child_id'));
     $this->hasMany('Group2group as Group2groups_ForParent', array('local' => 'eperson_group_id', 'foreign' => 'parent_id'));
     $this->hasMany('Collection as Collections_ForWorkflowStep1', array('local' => 'eperson_group_id', 'foreign' => 'workflow_step_1'));
     $this->hasMany('Collection as Collections_ForWorkflowStep2', array('local' => 'eperson_group_id', 'foreign' => 'workflow_step_2'));
     $this->hasMany('Collection as Collections_ForWorkflowStep3', array('local' => 'eperson_group_id', 'foreign' => 'workflow_step_3'));
     $this->hasMany('Collection as Collections_ForAdmin', array('local' => 'eperson_group_id', 'foreign' => 'admin'));
     $this->hasMany('Collection as Collections_ForSubmitter', array('local' => 'eperson_group_id', 'foreign' => 'submitter'));
     $this->hasMany('Resourcepolicy as Resourcepolicys', array('local' => 'eperson_group_id', 'foreign' => 'epersongroup_id'));
     $this->hasMany('Group2groupcache as Group2groupcaches_ForChild', array('local' => 'eperson_group_id', 'foreign' => 'child_id'));
     $this->hasMany('Group2groupcache as Group2groupcaches_ForParent', array('local' => 'eperson_group_id', 'foreign' => 'parent_id'));
     $this->hasMany('Community as Communitys', array('local' => 'eperson_group_id', 'foreign' => 'admin'));
     $this->hasMany('Epersongroup2eperson as Epersongroup2epersons', array('local' => 'eperson_group_id', 'foreign' => 'eperson_group_id'));
 }
Esempio n. 18
0
 public function setUp()
 {
     parent::setUp();
     $this->hasMany('BannerGroupVsProductGroup as BannerGroups', array('local' => 'id', 'foreign' => 'product_group_id'));
     $this->hasMany('ProductGroupVsStructure as StructureProductGroup', array('local' => 'id', 'foreign' => 'group_id'));
     $this->hasMany('ProductVsProductGroup as Products', array('local' => 'id', 'foreign' => 'group_id'));
     $this->hasMany('ProductGroupVsParameterGroup as ProductGroupParameterGroups', array('local' => 'id', 'foreign' => 'prodgroup_id'));
     $i18n0 = new Doctrine_Template_I18n(array('fields' => array(0 => 'name', 1 => 'meta_title', 2 => 'meta_description', 3 => 'meta_keywords', 4 => 'slug', 5 => 'description')));
     $nestedset0 = new Doctrine_Template_NestedSet();
     $timestampable0 = new Doctrine_Template_Timestampable();
     $userid0 = new Doctrine_Template_Userid(array('created' => array('name' => 'created_by', 'type' => 'integer'), 'updated' => array('name' => 'updated_by', 'type' => 'integer')));
     $this->actAs($i18n0);
     $this->actAs($nestedset0);
     $this->actAs($timestampable0);
     $this->actAs($userid0);
 }
Esempio n. 19
0
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Bi4Dis', array('local' => 'distinct_id', 'foreign' => 'distinct_id'));
     $this->hasOne('Item', array('local' => 'item_id', 'foreign' => 'item_id'));
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Bundle', array('local' => 'bundle_id', 'foreign' => 'bundle_id'));
     $this->hasOne('Bitstream', array('local' => 'bitstream_id', 'foreign' => 'bitstream_id'));
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Structure', array('local' => 'structure_id', 'foreign' => 'id', 'onDelete' => 'CASCADE'));
     $this->hasOne('AdminUserGroup', array('local' => 'admin_user_group_id', 'foreign' => 'id', 'onDelete' => 'CASCADE'));
 }
Esempio n. 22
0
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('BannerGroup', array('local' => 'banner_group_id', 'foreign' => 'id', 'onDelete' => 'CASCADE', 'onUpdate' => 'CASCADE'));
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Community', array('local' => 'community_id', 'foreign' => 'community_id'));
     $this->hasOne('Item', array('local' => 'item_id', 'foreign' => 'item_id'));
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Item', array('local' => 'item_id', 'foreign' => 'item_id'));
     $this->hasOne('Metadatafieldregistry', array('local' => 'metadata_field_id', 'foreign' => 'metadata_field_id'));
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('BitstreamFormatRegistry as Format', array('local' => 'bitstream_format_id', 'foreign' => 'bitstream_format_id'));
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('ProductGroup', array('local' => 'prodgroup_id', 'foreign' => 'id', 'onDelete' => 'CASCADE', 'onUpdate' => 'CASCADE'));
     $this->hasOne('ParameterGroup', array('local' => 'paramgroup_id', 'foreign' => 'id', 'onDelete' => 'CASCADE', 'onUpdate' => 'CASCADE'));
 }
Esempio n. 27
0
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Eperson', array('local' => 'submitter_id', 'foreign' => 'eperson_id'));
     $this->hasMany('BiItem as BiItems', array('local' => 'item_id', 'foreign' => 'item_id'));
     $this->hasMany('HarvestedItem as HarvestedItems', array('local' => 'item_id', 'foreign' => 'item_id'));
     $this->hasMany('BiWithdrawn as BiWithdrawns', array('local' => 'item_id', 'foreign' => 'item_id'));
     $this->hasMany('Bi2Dmap as Bi2Dmaps', array('local' => 'item_id', 'foreign' => 'item_id'));
     $this->hasMany('Collection as CollectionsTemplateFor', array('local' => 'item_id', 'foreign' => 'template_item_id'));
     $this->hasMany('Bundle as Bundles', array('refClass' => 'Item2bundle', 'local' => 'item_id', 'foreign' => 'bundle_id'));
     $this->hasMany('Collection as Collections', array('refClass' => 'Collection2item', 'local' => 'item_id', 'foreign' => 'collection_id'));
     $this->hasMany('Metadatavalue as Metadatavalues', array('local' => 'item_id', 'foreign' => 'item_id'));
     $this->hasMany('Bi4Dmap as Bi4Dmaps', array('local' => 'item_id', 'foreign' => 'item_id'));
     $this->hasMany('Workflowitem as Workflowitems', array('local' => 'item_id', 'foreign' => 'item_id'));
     $this->hasMany('Community as Communities', array('refClass' => 'Communities2item', 'local' => 'item_id', 'foreign' => 'community_id'));
     $this->hasMany('Workspaceitem as Workspaceitems', array('local' => 'item_id', 'foreign' => 'item_id'));
     $this->hasMany('Collection2item', array('local' => 'item_id', 'foreign' => 'item_id'));
     $this->hasMany('Communities2item', array('local' => 'item_id', 'foreign' => 'item_id'));
     $this->hasMany('Item2bundle', array('local' => 'item_id', 'foreign' => 'item_id'));
 }
Esempio n. 28
0
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('FrontendModule', array('local' => 'frontend_module_id', 'foreign' => 'id', 'onDelete' => 'CASCADE', 'onUpdate' => 'CASCADE'));
 }
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Collection', array('local' => 'collection_id', 'foreign' => 'collection_id'));
 }
Esempio n. 30
0
 public function setUp()
 {
     parent::setUp();
     $this->hasOne('Structure as Parent', array('local' => 'parentid', 'foreign' => 'id', 'onDelete' => 'CASCADE', 'onUpdate' => 'CASCADE'));
     $this->hasMany('AdminUserGroupVsStructure as AdminUserGroup', array('local' => 'id', 'foreign' => 'structure_id'));
     $this->hasMany('BannerGroupVsStructure as StructureBannerGroups', array('local' => 'id', 'foreign' => 'structure_id'));
     $this->hasMany('NewsGroupVsStructure as StructureNewsGroup', array('local' => 'id', 'foreign' => 'structure_id'));
     $this->hasMany('Placeholder', array('local' => 'id', 'foreign' => 'structure_id'));
     $this->hasMany('Structure', array('local' => 'id', 'foreign' => 'parentid'));
     $sluggable0 = new Doctrine_Template_Sluggable(array('unique' => false, 'fields' => array(0 => 'title'), 'canUpdate' => true));
     $timestampable0 = new Doctrine_Template_Timestampable();
     $nestedset0 = new Doctrine_Template_NestedSet();
     $userid0 = new Doctrine_Template_Userid(array('created' => array('name' => 'created_by', 'type' => 'integer'), 'updated' => array('name' => 'updated_by', 'type' => 'integer')));
     $this->actAs($sluggable0);
     $this->actAs($timestampable0);
     $this->actAs($nestedset0);
     $this->actAs($userid0);
 }