Exemplo n.º 1
0
 /**
  * 
  * Test -- Prepares the source text before any parsing occurs.
  * 
  */
 public function testPrepare()
 {
     // should show no changes
     $source = "foo bar baz";
     $expect = $source;
     $actual = $this->_plugin->prepare($source);
     $this->assertSame($actual, $expect);
 }
Exemplo n.º 2
0
 /**
  * 
  * Resets for a new transformation.
  * 
  * @return void
  * 
  */
 public function reset()
 {
     parent::reset();
     $this->_list_level = 0;
 }
Exemplo n.º 3
0
 /**
  * 
  * Resets this plugin for a new transformation.
  * 
  * @return void
  * 
  */
 public function reset()
 {
     parent::reset();
     $this->_links = array();
     $this->_pages = array();
     $this->_count = 0;
 }