<?php

$set = new h4cc\AliceFixturesBundle\Fixtures\FixtureSet();
$set->addFile(__DIR__ . '/user.yml', 'yaml');
return $set;
Exemplo n.º 2
0
<?php

$set = new \h4cc\AliceFixturesBundle\Fixtures\FixtureSet(['seed' => 1, 'order' => 2]);
$set->addFile(__DIR__ . '/subject.yml', 'yaml');
$set->addFile(__DIR__ . '/lang.yml', 'yaml');
$set->addFile(__DIR__ . '/publisher_type.yml', 'yaml');
$set->addFile(__DIR__ . '/publisher.yml', 'yaml');
$set->addFile(__DIR__ . '/journal.yml', 'yaml');
$set->addFile(__DIR__ . '/section.yml', 'yaml');
$set->addFile(__DIR__ . '/issue.yml', 'yaml');
$set->addFile(__DIR__ . '/article.yml', 'yaml');
$set->addFile(__DIR__ . '/author.yml', 'yaml');
$set->addFile(__DIR__ . '/article_author.yml', 'yaml');
//Article Author
$set->addFile(__DIR__ . '/article_type.yml', 'yaml');
//Article Types
$set->addFile(__DIR__ . '/article_file.yml', 'yaml');
//Article File
$set->addFile(__DIR__ . '/citation.yml', 'yaml');
$set->addFile(__DIR__ . '/contact_type.yml', 'yaml');
//Contact Types
$set->addFile(__DIR__ . '/journal_theme.yml', 'yaml');
//themes
$set->addFile(__DIR__ . '/period.yml', 'yaml');
//periods
$set->addFile(__DIR__ . '/submission_checklist.yml', 'yaml');
//submission checklist
$set->addFile(__DIR__ . '/index.yml', 'yaml');
// indexes
//$set->addFile(__DIR__ . '/journal_contact.yml', 'yaml'); //Journal Contacts
//$set->addFile(__DIR__ . '/article_attribute.yml', 'yaml'); //Article Attribute
Exemplo n.º 3
0
<?php

$set = new \h4cc\AliceFixturesBundle\Fixtures\FixtureSet(['seed' => 1, 'order' => 2]);
$set->addFile(__DIR__ . '/subject.yml', 'yaml');
$set->addFile(__DIR__ . '/system_setting.yml', 'yaml');
$set->addFile(__DIR__ . '/lang.yml', 'yaml');
$set->addFile(__DIR__ . '/publisher_type.yml', 'yaml');
$set->addFile(__DIR__ . '/publisher.yml', 'yaml');
$set->addFile(__DIR__ . '/publisher_design.yml', 'yaml');
$set->addFile(__DIR__ . '/publisher_theme.yml', 'yaml');
$set->addFile(__DIR__ . '/institution.yml', 'yaml');
$set->addFile(__DIR__ . '/journal.yml', 'yaml');
$set->addFile(__DIR__ . '/section.yml', 'yaml');
$set->addFile(__DIR__ . '/issue.yml', 'yaml');
$set->addFile(__DIR__ . '/article.yml', 'yaml');
$set->addFile(__DIR__ . '/author.yml', 'yaml');
$set->addFile(__DIR__ . '/article_author.yml', 'yaml');
//Article Author
$set->addFile(__DIR__ . '/article_file.yml', 'yaml');
//Article File
$set->addFile(__DIR__ . '/citation.yml', 'yaml');
$set->addFile(__DIR__ . '/admin_journal_theme.yml', 'yaml');
//themes
$set->addFile(__DIR__ . '/submission_checklist.yml', 'yaml');
//submission checklist
$set->addFile(__DIR__ . '/index.yml', 'yaml');
// indexes
//$set->addFile(__DIR__ . '/article_attribute.yml', 'yaml'); //Article Attribute
return $set;
Exemplo n.º 4
0
<?php

// Creating a fixture set with own configuration,
$set = new h4cc\AliceFixturesBundle\Fixtures\FixtureSet(array('locale' => 'es_ES', 'seed' => 42, 'do_drop' => true, 'do_persist' => true, 'order' => 5));
$set->addFile(__DIR__ . '/../Resources/config/fixtures/Users.yml', 'yaml');
return $set;
Exemplo n.º 5
0
<?php

$set = new \h4cc\AliceFixturesBundle\Fixtures\FixtureSet(['seed' => 3, 'order' => 3]);
$set->addFile(__DIR__ . '/journal_user.yml', 'yaml');
return $set;
Exemplo n.º 6
0
<?php

$set = new \h4cc\AliceFixturesBundle\Fixtures\FixtureSet(['locale' => 'en_US', 'seed' => 1, 'do_drop' => false, 'do_persist' => true, 'order' => 1]);
$set->addFile(__DIR__ . '/roles.yml', 'yaml');
$set->addFile(__DIR__ . '/default.yml', 'yaml');
return $set;
<?php

$set = new h4cc\AliceFixturesBundle\Fixtures\FixtureSet();
$set->addFile(__DIR__ . '/category.yml', 'yaml');
$set->addFile(__DIR__ . '/post.yml', 'yaml');
return $set;
Exemplo n.º 8
0
<?php

$set = new \h4cc\AliceFixturesBundle\Fixtures\FixtureSet(['seed' => 1, 'order' => 2]);
$set->addFile(__DIR__ . '/subject.yml', 'yaml');
$set->addFile(__DIR__ . '/lang.yml', 'yaml');
$set->addFile(__DIR__ . '/institution_type.yml', 'yaml');
$set->addFile(__DIR__ . '/institution.yml', 'yaml');
$set->addFile(__DIR__ . '/journal.yml', 'yaml');
$set->addFile(__DIR__ . '/journal_section.yml', 'yaml');
$set->addFile(__DIR__ . '/issue.yml', 'yaml');
$set->addFile(__DIR__ . '/article.yml', 'yaml');
$set->addFile(__DIR__ . '/author.yml', 'yaml');
$set->addFile(__DIR__ . '/article_author.yml', 'yaml');
//Article Author
$set->addFile(__DIR__ . '/article_type.yml', 'yaml');
//Article Types
$set->addFile(__DIR__ . '/file.yml', 'yaml');
$set->addFile(__DIR__ . '/article_file.yml', 'yaml');
//Article File
$set->addFile(__DIR__ . '/citation.yml', 'yaml');
$set->addFile(__DIR__ . '/contact_type.yml', 'yaml');
//Contact Types
$set->addFile(__DIR__ . '/theme.yml', 'yaml');
//themes
$set->addFile(__DIR__ . '/submission_checklist.yml', 'yaml');
//submission checklist
$set->addFile(__DIR__ . '/journal_index.yml', 'yaml');
// indexes
//$set->addFile(__DIR__ . '/journal_contact.yml', 'yaml'); //Journal Contacts
//$set->addFile(__DIR__ . '/citation_setting.yml', 'yaml'); //Citation Settings
//$set->addFile(__DIR__ . '/article_attribute.yml', 'yaml'); //Article Attribute