protected function getDataTable()
	{
		$data = $this->getTableData();
		$header = $this->getTableHeader();

		$table = new Table();
		// set the configuration
		$table->setConfig(array(
			"table-hover"=>true, 
			"table-condensed"=>false, 
			"table-responsive" => true,
			"table-striped" => true,
			 ));
		// set header
		$table->setHeader( $header );
		// set data
		foreach($data as $val)
		{
			$table->addRows( get_object_vars($val) );
		}

		return $table->getHtml();
	}
protected function getDataTable()
	{
		$data = $this->getTableData();
		$header = $this->getTableHeader();

		$table = new Table();
		// set the configuration
		$table->setConfig(array(
			"table-hover"=>true, 
			"table-condensed"=>false, 
			"table-responsive" => true,
			"table-striped" => true,
			 ));
		// set header
		$table->setHeader( $header );
		// set data
		foreach($data as $val)
		{
			$table->addRows( get_object_vars($val) );
		}

		return $table->getHtml();
	}
protected function getDataTable ( ) { $ data = $ this -> getTableData ( ) ; $ header = $ this -> getTableHeader ( ) ; $ table = new Table ( ) ; // set the configuration $ table -> setConfig ( array ( "table-hover" => true , "table-condensed" => false , "table-responsive" => true , "table-striped" => true , ) ) ; // set header $ table -> setHeader ( $ header ) ; // set data foreach ( $ data as $ val ) { $ table -> addRows ( get_object_vars ( $ val ) ) ; } return $ table -> getHtml ( ) ; }
Return the table for the preview
@return String $table
Return the table for the preview