This is a join tables example. It provide JOIN functionality to make relationship between tables. You can display column of other table in List View. You must define alias for column of other table. In this example I join categories table with posts table then add posts.title column into List View.

	$Scaffolding= new Scaffolding("categories");
	$Scaffolding->join('posts', 'posts.category', '=', 'categories.id', 'INNER');
	// Set columns manually
	$columns       = array('name', 'posts.title AS post_title');
	$Scaffolding->setColumns($columns);
	$content= $Scaffolding->render();
	$parameters= array(
		'scaffolding'=>$content
	);
	return view('demo', $parameters);
	
Name Post Title
Test111 Преимущества подушек из овечьей шерсти
Test111 Foto telanjang pria brazil bonuses
Test111 slot online
Test111 How to fry tomatoes
Test111 Bi weekly cleaning Midwood
test мама и малыш интернет магазин
test I have a lump under my armpit
sasasdsadaaa jjjja
sasasdsadaaa g
sasasdsadaaa test
Showing 1 to 10 of 272 entries