symfony API

SfPropelBehaviorI18n Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website

« Back to API menu


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

Internationalizes Propel models.


SfPropelBehaviorI18n  <  SfPropelBehaviorBase

Method Summary

Methods inherited from SfPropelBehaviorBase

getBuildProperty , isDisabled

Method Details

  • (Column) getCultureColumn ()

    Finds the supplied translation table's culture column.

    throws InvalidArgumentException If there is not a column marked as "isCulture"

  • (Column) getForeignColumn ()

    Returns the column on the translation table the references the current model.

  • (Table) getI18nTable ()

    Returns the current table's i18n translation table.

  • (Column) getLocalColumn ()

    Returns the column on the current model referenced by the translation model.

  • (boolean) hasPrimaryString ($table)

    Checks whether the supplied table has a primary string defined.

  • modifyDatabase ()

    Looks for tables marked as I18N and adds behaviors.

  • modifyTable ()

  • objectAttributes ()

  • objectMethods ()

  • staticMethods ()