예제 #1
0
 public function setUp()
 {
     $this->test_options = new DefaultOptions();
     $this->test_options->set(Opt::DIR_ROOT, __DIR__ . '/../Fixures/LinkerTest');
     $this->test_dom = new \DOMDocument('1.0', 'UTF-8');
     $this->test_dom->loadHTMLFile(__DIR__ . '/../Fixures/InternalLink_1.html');
 }
예제 #2
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->set(Opt::GITHUB_RIBBON_URL, 'https://github.com/TreeMDown-Multi');
     $this->set(Opt::BASE_PARAMS, array('tmd_f' => 'index.md', 'tmd_q' => '', 'tmd_t' => ''));
 }