[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch




/phpbb/request/ -> type_cast_helper_interface.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 45 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

type_cast_helper_interface:: (2 methods):

Interface: type_cast_helper_interface  - X-Ref

An interface for type cast operations.

set_var(&$result, $var, $type, $multibyte = false)   X-Ref
Set variable $result to a particular type.

param: mixed    &$result    The variable to fill
param: mixed    $var        The contents to fill with
param: mixed    $type        The variable type. Will be used with {@link settype()}
param: bool    $multibyte    Indicates whether string values may contain UTF-8 characters.

recursive_set_var(&$var, $default, $multibyte)   X-Ref
Recursively sets a variable to a given type using {@link set_var set_var}.

param: string    $var        The value which shall be sanitised (passed by reference).
param: mixed    $default    Specifies the type $var shall have.
param: bool    $multibyte    Indicates whether string keys and values may contain UTF-8 characters.

Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1