symfony API

sfAdminGenerator Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

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.

Admin generator.

Inheritence

sfPropelCrudGenerator  <  sfAdminGenerator  <  sfCrudGenerator < sfGenerator

Method Summary

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) addCredentialCondition (, )

    Wraps content with a credential condition.

    returns HTML code

  • escapeString (, )

    Escapes a string.

  • (string) getButtonToAction (, , )

    Returns HTML code for an action button.

    returns HTML code

  • (array) getColumnCategories ()

    Returns all column categories.

    returns The column categories

  • (string) getColumnEditTag (, )

    Returns HTML code for a column in edit mode.

    returns HTML code

  • (string) getColumnFilterTag (, )

    Returns HTML code for a column in filter mode.

    returns HTML code

  • (string) getColumnListTag (, )

    Returns HTML code for a column in list mode.

    returns HTML code

  • (array) getColumns ()

    Gets sfAdminColumn objects for a given category.

    returns sfAdminColumn array

  • (mixed) getFieldParameterValue (, , )

    Gets a field parameter value.

    returns The parameter value

  • (string) getHelp (, )

    Returns HTML code for a help text.

    returns HTML code

  • (string) getHelpAsIcon (, )

    Returns HTML code for a help icon.

    returns HTML code

  • (string) getI18NString (, )

    Wraps a content for I18N.

    returns HTML code

  • (string) getLinkToAction (, , )

    Returns HTML code for an action link.

    returns HTML code

  • (mixed) getParameterValue (, )

    Gets a parameter value.

    returns The parameter value

  • (mixed) getValueFromKey (, )

    Gets the value for a given key.

    returns The key value

  • (string) replaceConstants ()

    Replaces constants in a string.

  • (array) splitFlag ()

    Gets modifier flags from a column name.

    returns An array of detected flags