示例#1
0
文件: Hr.php 项目: burbuja/pluf
 function __construct($wr)
 {
     parent::__construct($wr);
     $this->type = 'hr';
     $this->regexp = '/^={4,} *$/';
     $this->_closeNow = true;
 }
示例#2
0
 function __construct($wr)
 {
     parent::__construct($wr);
     $this->type = 'dfn';
     $this->regexp = "/^;(.*) : (.*)/i";
     $this->_openTag = '<dl>';
     $this->_closeTag = '</dl>';
 }
示例#3
0
文件: P.php 项目: burbuja/pluf
 function __construct($wr)
 {
     parent::__construct($wr);
     $this->type = 'p';
     $this->regexp = "/(.*)/";
     $this->_openTag = '<p>';
     $this->_closeTag = '</p>';
 }
示例#4
0
文件: Table.php 项目: burbuja/pluf
 function __construct($wr)
 {
     parent::__construct($wr);
     $this->type = 'table';
     $this->regexp = "/^\\| ?(.*)/";
     $this->_openTag = '<table border="1">';
     $this->_closeTag = '</table>';
 }
示例#5
0
文件: Title.php 项目: burbuja/pluf
 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;
 }
示例#6
0
文件: List.php 项目: burbuja/pluf
 function __construct($wr)
 {
     parent::__construct($wr);
     $this->type = 'list';
     $this->regexp = "/^([\\*#-]+)(.*)/";
 }
示例#7
0
 function __construct($wr)
 {
     parent::__construct($wr);
     $this->type = 'bq';
     $this->regexp = "/^(\\>+)(.*)/";
 }