⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

directly add record in set_relation_n_n



italoc
  • profile picture
  • Member

Posted 14 May 2015 - 07:35 AM

it's possible to directly add a record to set_relation_n_n ??

 

for example film have many actors in in your documentation i have found this code:

 

    $crud->set_relation_n_n('actors', 'film_actor', 'actor', 'film_id', 'actor_id', 'fullname','priority');

 

 

it's possibile to add/edit/delete actors and your details directly in film table add?

 

thank you


Paul Savostin
  • profile picture
  • Member

Posted 02 June 2015 - 11:24 AM

Hi, I think NO. What is wrong with creating another controller that handle records in "film" table?