/** * @see sfTask */ protected function execute($arguments = array(), $options = array()) { $optionsCmdline = array(); if ($options['application']) { $optionsCmdline[] = '--application=' . $options['application']; } if ($options['env']) { $optionsCmdline[] = '--env=' . $options['env']; } if ($options['connection']) { $optionsCmdline[] = '--connection=' . $options['connection']; } $task = new sfPropelInsertSqlDiffTask($this->dispatcher, $this->formatter); $task->setCommandApplication($this->commandApplication); $task->run(array(), $optionsCmdline); $task = new sfPropelBuildModelTask($this->dispatcher, $this->formatter); $task->setCommandApplication($this->commandApplication); $task->run(); $task = new sfPropelBuildFormsTask($this->dispatcher, $this->formatter); $task->setCommandApplication($this->commandApplication); $task->run(); $task = new sfPropelBuildFiltersTask($this->dispatcher, $this->formatter); $task->setCommandApplication($this->commandApplication); $task->run(); }
/** * @see sfTask */ protected function execute($arguments = array(), $options = array()) { $task = new sfPropelInsertSqlDiffTask($this->dispatcher, $this->formatter); $task->setCommandApplication($this->commandApplication); $task->execute($arguments, $options); $task = new sfPropelBuildModelTask($this->dispatcher, $this->formatter); $task->setCommandApplication($this->commandApplication); $task->execute(); }