public function film_management()
{

$this->config->load('grocery_crud');
$this->config->set_item('grocery_crud_dialog_forms',true);
$this->config->set_item('grocery_crud_dialog_color','orange darken-1');
$this->config->set_item('grocery_crud_dialog_text_color','white');

$crud = new grocery_CRUD();
$crud->set_theme('mdb'); // magic code
$crud->set_table('film');
$crud->set_subject('Film');
$crud->set_relation_n_n('actors', 'film_actor', 'actor', 'film_id', 'actor_id', 'fullname','priority');
$crud->set_relation_n_n('category', 'film_category', 'category', 'film_id', 'category_id', 'name');
$crud->unset_columns('special_features','description','actors');

$crud->fields('title', 'description', 'actors' , 'category' ,'release_year', 'rental_duration', 'rental_rate', 'length', 'replacement_cost', 'rating', 'special_features');

$output = $crud->render();

$this->_example_output($output);
}
View Film
Title:
CONEHEADS SMOOCHY
Description:
A Touching Story of a Womanizer And a Composer who must Pursue a Husband in Nigeria
Release year:
2006
Rental duration:
7
Rental rate:
4.99
Length:
112
Replacement cost:
12.99
Rating:
NC-17
Special features:
Deleted Scenes,Behind the Scenes
Last update:
2006-02-15 05:03:42
Actors:
LOLLOBRIGIDA JOHNNY, TORN DAN, MCQUEEN JULIA, WAYNE ALEC, OLIVIER AUDREY, BARRYMORE JULIA, DEGENERES GINA, JACKMAN WARREN, PENN RICHARD
Category:
Drama

Our Products


3D Carousel Addon for WPBakery Page Builder (formerly Visual Composer)

Sortable Tables Addon for WPBakery Page Builder (formerly Visual Composer)

Codeigniter Grocery CRUD Material Design for Bootstrap Theme