<?php
defined('PRODUCT_NAME') or die;
class FacebookPageModule extends ModuleInstance
{
	public function render()
	{
		$data = array("module_instance_id" 		=> $this->module_instance_id,
					  "title" 					=> $this->setting("title"),
					  "title_heading_level" 	=> $this->setting("title_heading_level"),
		              "module_class" 			=> $this->setting("module_class"),
					  "href" 					=> $this->setting("href"),
					  "width" 					=> $this->setting("width"),
					  "height" 					=> $this->setting("height"),
					  "tabs" 					=> $this->setting("tabs"),
					  "hide_cover" 				=> $this->setting("hide_cover"),
					  "show_facepile" 			=> $this->setting("show_facepile"),
					  "hide_cta" 				=> $this->setting("hide_cta"),
					  "small_header" 			=> $this->setting("small_header"),
					  "adapt_container_width" 	=> $this->setting("adapt_container_width"));

		$this->load->view("modules/facebook_page/module", $data);
	}
}
