1<?php 2 3require_once(dirname(__FILE__).'/basic.php'); 4 5 6class syntax_plugin_nodisp_normal extends syntax_plugin_nodisp_basic { 7 function getPType(){ return 'normal'; } 8 function connectTo($mode) { $this->Lexer->addEntryPattern('{nodisp.*?}(?=.*?{/nodisp})',$mode,'plugin_nodisp_normal'); } 9 function postConnect() { $this->Lexer->addExitPattern('{/nodisp}','plugin_nodisp_normal'); } 10 11} 12 13