symfony API

sfUpgrade Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.1 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.1 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.

Abstract class for upgrade classes.

Method Summary

Methods inherited from sfBaseTask

checkAppExists , checkModuleExists , checkProjectExists , doRun , getFilesystem

Methods inherited from sfCommandApplicationTask

log , logSection , setCommandApplication

Methods inherited from sfTask

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

Method Details

  • execute () Browse code

  • (array) getApplications () Browse code

    Returns all application names.

    returns An array of application names

  • (sfFinder) getFinder () Browse code

    Returns a finder that exclude upgrade scripts from being upgraded!

    returns A sfFinder instance

  • getProjectActionDirectories () Browse code

    Returns all project directories where you can put actions and components.

  • getProjectClassDirectories () Browse code

    Returns all project directories where you can put PHP classes.

  • getProjectConfigDirectories () Browse code

    Returns all project config directories.

  • getProjectLibDirectories () Browse code

    Returns all project lib directories.

  • getProjectTemplateDirectories () Browse code

    Returns all project directories where you can put templates.

  • upgrade () Browse code

    Upgrades the current project from 1.0 to 1.1.