mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00: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:
parent
2aec6bb07c
commit
234b891a4b
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ class phpbb_template
|
||||||
* @param string $template_var Template variable to assign compiled handle to
|
* @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 $return_content If true return compiled handle, otherwise assign to $template_var
|
||||||
* @param bool $include_once Allow multiple inclusions of the file
|
* @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)
|
public function assign_display($handle, $template_var = '', $return_content = true, $include_once = false)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue