symfony API

sfValidation Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.4 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.4 version. Switch to:

Abstract class for validation classes.

Method Summary

Methods inherited from sfBaseTask

checkAppExists , checkModuleExists , checkProjectExists , createConfiguration , createTask , disablePlugin , doRun , enablePlugin , getFilesystem , getFirstApplication , getPluginManager , initializeAutoload , installDir , reloadAutoload , reloadTasks , replaceTokens , setConfiguration

Methods inherited from sfCommandApplicationTask

createTask , getMailer , getRouting , initializeMailer , initializeRouting , log , logSection , runTask , setCommandApplication

Methods inherited from sfTask

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

Method Details

  • execute () Browse code

  • (array) getApplications () Browse code

    Returns all application names.

    returns An array of application names

  • (sfFinder) getFinder ($type) Browse code

    $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

  • getHeader () Browse code

  • 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 ($subdirectory) Browse code

    $subdirectory A subdirectory within lib (i.e. "/form")

    Returns all project lib directories.

  • getProjectTemplateDirectories () Browse code

    Returns all project directories where you can put templates.

  • validate () Browse code

    Validates the current project.