Пример #1
0
 /**
  * Constructor: just adds the path to Creole rules
  *
  * @access public
  * @param array $rules The set of rules to load for this object.
  */
 function Text_Wiki_Creole($rules = null)
 {
     parent::Text_Wiki($rules);
     $this->addPath('parse', $this->fixPath(dirname(__FILE__)) . 'Parse/Creole');
     $this->renderingType = 'char';
     $this->setRenderConf('xhtml', 'center', 'css', 'center');
     $this->setRenderConf('xhtml', 'url', 'target', null);
 }
Пример #2
0
 function Text_Wiki_Doku($rules = null)
 {
     parent::Text_Wiki($rules);
     $paths = $this->getPath('parse');
     $this->addPath('parse', str_replace('Default', 'Doku', $paths[0]));
 }
Пример #3
0
 /**
  * Constructor: just adds the path to Mediawiki rules
  *
  * @access public
  * @param array $rules The set of rules to load for this object.
  */
 function Text_Wiki_Mediawiki($rules = null)
 {
     parent::Text_Wiki($rules);
     $this->addPath('parse', $this->fixPath(dirname(__FILE__)) . 'Parse/Mediawiki');
 }
Пример #4
0
 function Text_Wiki_Tiki($rules = null)
 {
     parent::Text_Wiki($rules);
     $this->addPath('parse', $this->fixPath(dirname(__FILE__)) . 'Parse/Tiki');
     //        $this->addPath('render', $this->fixPath(dirname(__FILE__)).'Render');
 }