1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-20 14:29:48 +02:00

[feature/template-engine] Fixed description of assign_display().

This function returns false on failure, which can happen if
display() failed. Document the failure return value.

PHPBB3-9726
This commit is contained in:
Oleg Pudeyev 2011-05-01 03:14:11 -04:00
parent 2aec6bb07c
commit 234b891a4b

View File

@ -299,7 +299,7 @@ class phpbb_template
* @param string $template_var Template variable to assign compiled handle to
* @param bool $return_content If true return compiled handle, otherwise assign to $template_var
* @param bool $include_once Allow multiple inclusions of the file
* @return bool|string If $return_content is true return string of the compiled handle, otherwise return true
* @return bool|string false on failure, otherwise if $return_content is true return string of the compiled handle, otherwise return true
*/
public function assign_display($handle, $template_var = '', $return_content = true, $include_once = false)
{