Example #1
0
File: Hr.php Project: burbuja/pluf
 function __construct($wr)
 {
     parent::__construct($wr);
     $this->type = 'hr';
     $this->regexp = '/^={4,} *$/';
     $this->_closeNow = true;
 }
Example #2
0
 function __construct($wr)
 {
     parent::__construct($wr);
     $this->type = 'dfn';
     $this->regexp = "/^;(.*) : (.*)/i";
     $this->_openTag = '<dl>';
     $this->_closeTag = '</dl>';
 }
Example #3
0
File: P.php Project: burbuja/pluf
 function __construct($wr)
 {
     parent::__construct($wr);
     $this->type = 'p';
     $this->regexp = "/(.*)/";
     $this->_openTag = '<p>';
     $this->_closeTag = '</p>';
 }
Example #4
0
 function __construct($wr)
 {
     parent::__construct($wr);
     $this->type = 'table';
     $this->regexp = "/^\\| ?(.*)/";
     $this->_openTag = '<table border="1">';
     $this->_closeTag = '</table>';
 }
Example #5
0
 function __construct($wr)
 {
     parent::__construct($wr);
     $this->type = 'title';
     $this->regexp = "/^(\\!{1,3})(.*)/";
     $this->_closeNow = true;
     $cfg = $wr->getConfig();
     $this->_minlevel = $cfg->minHeaderLevel;
     $this->_order = $cfg->headerOrder;
 }
Example #6
0
 function __construct($wr)
 {
     parent::__construct($wr);
     $this->type = 'list';
     $this->regexp = "/^([\\*#-]+)(.*)/";
 }
Example #7
0
 function __construct($wr)
 {
     parent::__construct($wr);
     $this->type = 'bq';
     $this->regexp = "/^(\\>+)(.*)/";
 }