PHPackages                             c33s/i18n-helper-behavior - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. c33s/i18n-helper-behavior

AbandonedPropel-behavior

c33s/i18n-helper-behavior
=========================

Helpful additions to default i18n propel behavior

v0.2.0(9y ago)0802MITPHPPHP &gt;=5.3.3

Since Feb 11Pushed 9y ago1 watchersCompare

[ Source](https://github.com/vworldat/I18nHelperBehavior)[ Packagist](https://packagist.org/packages/c33s/i18n-helper-behavior)[ Docs](https://github.com/vworldat/I18nHelperBehavior)[ RSS](/packages/c33s-i18n-helper-behavior/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

I18nHelperBehavior
==================

[](#i18nhelperbehavior)

Helpful additions to default i18n propel behavior

Installation
------------

[](#installation)

Require [`c33s/i18n-helper-behavior`](https://packagist.org/packages/c33s/i18n-helper-behavior)in your `composer.json` file:

```
{
    "require": {
        "c33s/i18n-helper-behavior": "@stable",
    }
}
```

Add propel behaviors to your propel config:

```
# When using symfony:
# app/config/config.yml

propel:
    # ...

    behaviors:
        c33s_i18n_helper:   vendor.c33s.i18n-helper-behavior.src.C33sPropelBehaviorI18nHelper
```

Usage
-----

[](#usage)

Add behavior to your propel models - either globally (automatically for all models containing i18n behavior) or to a specific model:

```

```

The behavior will add some convenience functions to your model. In the above example, the following methods will be generated for the i18n column `title`:

```
