mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/template-events] Move comment to the function docblock.
PHPBB3-9550
This commit is contained in:
parent
1b36fc3a60
commit
bd63b17d00
1 changed files with 3 additions and 3 deletions
|
@ -266,7 +266,9 @@ class phpbb_template_filter extends php_user_filter
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Callback for replacing matched tokens with PHP code
|
* Callback for replacing matched tokens with compiled template code.
|
||||||
|
*
|
||||||
|
* Compiled template code is an HTML stream with embedded PHP.
|
||||||
*
|
*
|
||||||
* @param array $matches Regular expression matches
|
* @param array $matches Regular expression matches
|
||||||
* @return string compiled template code
|
* @return string compiled template code
|
||||||
|
@ -355,8 +357,6 @@ class phpbb_template_filter extends php_user_filter
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'EVENT':
|
case 'EVENT':
|
||||||
// return value here will be compiled code (html with embedded php).
|
|
||||||
// we don't want to wrap it in php tags here.
|
|
||||||
return '<?php ' . $this->compile_tag_event($matches[2]) . '?>';
|
return '<?php ' . $this->compile_tag_event($matches[2]) . '?>';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue