Exemple #1
0
 /**
  * Prior to including the library, dompdf properties can be set - they are
  * defined as the library is included.
  */
 public function test_dompdf_options_can_be_set_and_read()
 {
     // Set the config value to something very unusual as evidence
     View_PDF::set_dompdf_option(View_PDF::DOMPDF_DEFAULT_MEDIA_TYPE, 'braille');
     $this->assertEquals('braille', View_PDF::get_dompdf_option(View_PDF::DOMPDF_DEFAULT_MEDIA_TYPE));
 }