symfony API

sfAdminGenerator 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.

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 (, ) Browse code

    Wraps content with a credential condition.

    returns HTML code

  • escapeString (, ) Browse code

    Escapes a string.

  • (string) getButtonToAction (, , ) Browse code

    Returns HTML code for an action button.

    returns HTML code

  • (array) getColumnCategories () Browse code

    Returns all column categories.

    returns The column categories

  • (string) getColumnEditTag (, ) Browse code

    Returns HTML code for a column in edit mode.

    returns HTML code

  • (string) getColumnFilterTag (, ) Browse code

    Returns HTML code for a column in filter mode.

    returns HTML code

  • (string) getColumnListTag (, ) Browse code

    Returns HTML code for a column in list mode.

    returns HTML code

  • (array) getColumns () Browse code

    Gets sfAdminColumn objects for a given category.

    returns sfAdminColumn array

  • (mixed) getFieldParameterValue (, , ) Browse code

    Gets a field parameter value.

    returns The parameter value

  • (string) getHelp (, ) Browse code

    Returns HTML code for a help text.

    returns HTML code

  • (string) getHelpAsIcon (, ) Browse code

    Returns HTML code for a help icon.

    returns HTML code

  • (string) getI18NString (, ) Browse code

    Wraps a content for I18N.

    returns HTML code

  • (string) getLinkToAction (, , ) Browse code

    Returns HTML code for an action link.

    returns HTML code

  • (mixed) getParameterValue (, ) Browse code

    Gets a parameter value.

    returns The parameter value

  • (mixed) getValueFromKey (, ) Browse code

    Gets the value for a given key.

    returns The key value

  • (string) replaceConstants () Browse code

    Replaces constants in a string.

  • (array) splitFlag () Browse code

    Gets modifier flags from a column name.

    returns An array of detected flags