getPrintPreview() public method

Renders the preview for this theme
public getPrintPreview ( ) : string
return string
示例#1
0
 /**
  * Test for getPrintPreview().
  *
  * @return void
  */
 public function testPrintPreview()
 {
     $this->assertEquals($this->object->getPrintPreview(), '<div class="theme_preview"><h2> (0.0.0.0) </h2><p><a class="take_' . 'theme" name="" href="index.php?set_theme=&amp;server=99&amp;lang=en' . '&amp;collation_connection=utf-8' . '&amp;token=token">No preview available.[ <strong>take it</strong> ]' . '</a></p></div>');
 }