symfony API

sfPropelCrudGenerator Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.0 API OpenSearch

Packages

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

Propel CRUD generator.

Inheritence

sfPropelAdminGenerator  <  sfPropelCrudGenerator  <  sfAdminGenerator < sfCrudGenerator < sfGenerator

Method Summary

Methods inherited from sfAdminGenerator

addCredentialCondition , escapeString , getButtonToAction , getColumnCategories , getColumnEditTag , getColumnFilterTag , getColumnListTag , getColumns , getFieldParameterValue , getHelp , getHelpAsIcon , getI18NString , getLinkToAction , getParameterValue , getValueFromKey , replaceConstants , splitFlag

Methods inherited from sfCrudGenerator

generate , getClassName , getColumnGetter , getColumnListTag , getCrudColumnEditTag , getMap , getMethodParamsForGetOrCreate , getObjectTagParams , getPeerClassName , getPHPObjectHelper , getPluralName , getPrimaryKey , getPrimaryKeyIsSet , getPrimaryKeyUrlParams , getRelatedClassName , getRetrieveByPkParamsForAction , getRetrieveByPkParamsForGetOrCreate , getSingularName , getTableMap , getTestPksForGetOrCreate , loadMapBuilderClasses , loadPrimaryKeys , setScaffoldingClassName

Methods inherited from sfGenerator

evalTemplate , generate , generatePhpFiles , getGeneratedModuleName , getGeneratorClass , getGeneratorManager , getModuleName , getTheme , initialize , replacePhpMarks , setGeneratedModuleName , setGeneratorClass , setModuleName , setTheme , __call

Method Details

  • (string) getColumnGetter (, , ) Browse code

    Returns the getter either non-developped: 'getFoo' or developped: '$class->getFoo()'.

    returns PHP code

  • (string) getPHPObjectHelper (, , , ) Browse code

    Generates a PHP call to an object helper.

    returns PHP code

  • getRelatedClassName () Browse code

  • initialize () Browse code

    Initializes the current sfGenerator instance.

  • loadMapBuilderClasses () Browse code

    Loads map builder classes.


    This method is ORM dependant.

    throws sfException

  • loadPrimaryKeys () Browse code

    Loads primary keys.


    This method is ORM dependant.

    throws sfException