コード例 #1
0
 protected function configure()
 {
     $this->setName('ojs:import:pkp:given-journals')->setDescription('Import given journals from PKP/OJS');
     parent::configure();
     $this->addArgument('ids', InputArgument::IS_ARRAY, 'Journal IDs (separate multiple IDs with a space)');
 }
コード例 #2
0
 protected function configure()
 {
     $this->setName('ojs:import:pkp:article')->setDescription('Import an article from PKP/OJS')->addArgument('id', InputArgument::REQUIRED, 'Article ID')->addArgument('journal', InputArgument::REQUIRED, 'New journal ID')->addArgument('issue', InputArgument::REQUIRED, 'New issue ID (string null will leave the field empty)')->addArgument('section', InputArgument::REQUIRED, 'New section ID (string null will leave the field empty)');
     parent::configure();
 }
コード例 #3
0
 protected function configure()
 {
     $this->setName('ojs:import:pkp:journal')->setDescription('Import a journal from PKP/OJS')->addArgument('id', InputArgument::REQUIRED, 'Journal ID');
     parent::configure();
 }
コード例 #4
0
 protected function configure()
 {
     $this->setName('ojs:import:pkp:stats')->setDescription('Import article stats from PKP/OJS');
     parent::configure();
 }
コード例 #5
0
 protected function configure()
 {
     $this->setName('ojs:import:pkp:all-journals')->setDescription('Import all journals from PKP/OJS');
     parent::configure();
 }
コード例 #6
0
 protected function configure()
 {
     $this->setName('ojs:import:pkp:journal-user')->setDescription('Import a journal\'s users from PKP/OJS')->addArgument('oldId', InputArgument::REQUIRED, 'Old journal ID')->addArgument('newId', InputArgument::REQUIRED, 'New journal ID');
     parent::configure();
 }
コード例 #7
0
 protected function configure()
 {
     $this->setName('ojs:import:pkp:user')->setDescription('Import an user from PKP/OJS')->addArgument('id', InputArgument::REQUIRED, 'User ID');
     parent::configure();
 }
コード例 #8
0
 protected function configure()
 {
     $this->setName('ojs:import:pkp:issue')->setDescription('Import an issue from PKP/OJS')->addArgument('id', InputArgument::REQUIRED, 'Old issue ID')->addArgument('journal', InputArgument::REQUIRED, 'New journal ID')->addOption('without-articles', null, InputOption::VALUE_NONE, 'Exclude articles');
     parent::configure();
 }
コード例 #9
0
 protected function configure()
 {
     $this->setName('ojs:import:pkp:sync');
     parent::configure();
 }