symfony API

sfDoctrineBaseTask Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.2 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.2 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

Base class for all symfony Doctrine tasks.

Method Summary

Methods inherited from sfBaseTask

checkAppExists , checkModuleExists , checkProjectExists , createConfiguration , doRun , getFilesystem , getFirstApplication

Methods inherited from sfCommandApplicationTask

log , logSection , setCommandApplication

Methods inherited from sfTask

addArgument , addArguments , addOption , addOptions , ask , askConfirmation , configure , doRun , execute , getAliases , getArguments , getBriefDescription , getDetailedDescription , getFullName , getName , getNamespace , getOptions , getSynopsis , initialize , log , logBlock , logSection , process , run , runFromCLI , strlen , __construct

Method Details

  • callDoctrineCli ($task, $args = array()) Browse code

    $task Name of the Doctrine task to call
    $args Arguments for the task

    Call a command from the Doctrine CLI

  • createConfiguration ($application, $env) Browse code

    $application
    $env

  • (array) getCliConfig () Browse code

    Get array of configuration variables for the Doctrine cli

  • initialize ($dispatcher, $formatter) Browse code

    $dispatcher
    $formatter