public function ChapterBody($file, $mode=false) {
		$this->selectColumn();
		// get esternal file content
		$content = file_get_contents($file, false);
		// set font
		$this->SetFont('times', '', 9);
		$this->SetTextColor(50, 50, 50);
		// print content
		if ($mode) {
			// ------ HTML MODE ------
			$this->writeHTML($content, true, false, true, false, 'J');
		} else {
			// ------ TEXT MODE ------
			$this->Write(0, $content, '', 0, 'J', true, 0, false, true, 0);
		}
		$this->Ln();
	}
public function ChapterBody($file, $mode=false) {
		$this->selectColumn();
		// get esternal file content
		$content = file_get_contents($file, false);
		// set font
		$this->SetFont('times', '', 9);
		$this->SetTextColor(50, 50, 50);
		// print content
		if ($mode) {
			// ------ HTML MODE ------
			$this->writeHTML($content, true, false, true, false, 'J');
		} else {
			// ------ TEXT MODE ------
			$this->Write(0, $content, '', 0, 'J', true, 0, false, true, 0);
		}
		$this->Ln();
	}
public function ChapterBody ( $ file , $ mode = false ) { $ this -> selectColumn ( ) ; // get esternal file content $ content = file_get_contents ( $ file , false ) ; // set font $ this -> SetFont ( 'times' , '' , 9 ) ; $ this -> SetTextColor ( 50 , 50 , 50 ) ; // print content if ( $ mode ) { // ------ HTML MODE ------ $ this -> writeHTML ( $ content , true , false , true , false , 'J' ) ; } else { // ------ TEXT MODE ------ $ this -> Write ( 0 , $ content , '' , 0 , 'J' , true , 0 , false , true , 0 ) ; } $ this -> Ln ( ) ; }
Print chapter body
@param $file (string) name of the file containing the chapter body
@param $mode (boolean) if true the chapter body is in HTML, otherwise in simple text.
@public
Print chapter body