Abstract class for upgrade classes.
Inheritence
sfComponentUpgrade, sfConfigFileUpgrade, sfConfigUpgrade, sfConfigurationUpgrade, sfEnvironmentUpgrade, sfFactories12Upgrade, sfFactoriesUpgrade, sfFlashUpgrade, sfLayoutUpgrade, sfLoggerUpgrade, sfPluginAssetsUpgrade, sfPropel13Upgrade, sfPropelIniUpgrade, sfPropelUpgrade, sfSettingsUpgrade, sfSingletonUpgrade, sfTestUpgrade, sfViewCacheManagerUpgrade, sfWebDebugUpgrade <
sfUpgrade
<
sfBaseTask < sfCommandApplicationTask < sfTask
Method Summary
Methods inherited from sfBaseTask
checkAppExists , checkModuleExists , checkProjectExists , createConfiguration , doRun , getFilesystem , getFirstApplication
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
-
execute ($arguments = array(), $options = array())
Browse code
-
(array) getApplications ()
Browse code
Returns all application names.
returns An array of application names
-
| $type |
String directory or file or any (for both file and directory)
|
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.
-
Upgrades the current project from 1.0 to 1.1.
|