Jump to content

ModelObject save multilingue field


Recommended Posts

Salut,

 

Comment sauvegarder un champ multilingue ?

$my = new MyModel($_POST['id']);
$my->id = $_POST['id'];
//$my->name = $_POST['name']; // sans le multilingue ça marche
$my->name_1 = $_POST['name_1'];???
$my->name_2 = $_POST['name_2'];???
$my->update();
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...