symfony API

sfPropelGenerateAdminTask 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:

Generates a Propel admin module.

Inheritence

sfPropelGenerateAdminTask  <  sfPropelBaseTask < sfBaseTask < sfCommandApplicationTask < sfTask

Method Summary

Methods inherited from sfPropelBaseTask

callPhing , cleanup , copyXmlSchemaFromPlugins , getPhingPropertiesForConnection , getProperties , initialize , process , schemaToXML , schemaToYML

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

  • (boolean) checkRoute ($route, $model, $module) Browse code

    $route A route collection
    $model A model name
    $module A module name

    Checks whether a route references a model and module.

  • configure () Browse code

    @see sfTask

  • execute () Browse code

    @see sfTask

  • generateForRoute () Browse code

  • (string) getPrimaryKey ($model) Browse code

    $model A model name

    Returns the name of the model's primary key column.

    returns A column name

  • getRouteFromName () Browse code