symfony API

sfDoctrineRecordI18nFilter Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.2 API OpenSearch

Packages

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

sfDoctrineRecordI18nFilter implements access to the translated properties for the current culture from the internationalized model.

Method Summary

  • filterGet($record, $name, $value)
    Implementation of filterGet() to call get on Translation relationship to allow access to I18n properties from the main object.
  • filterSet($record, $name, $value)
    Implementation of filterSet() to call set on Translation relationship to allow access to I18n properties from the main object.
  • init()

Method Details

  • filterGet ($record, $name, $value) Browse code

    $record
    $name Name of the property
    $value Value of the property

    Implementation of filterGet() to call get on Translation relationship to allow access to I18n properties from the main object.

  • filterSet ($record, $name, $value) Browse code

    $record
    $name Name of the property
    $value Value of the property

    Implementation of filterSet() to call set on Translation relationship to allow access to I18n properties from the main object.

  • init () Browse code