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