[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
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: | 125 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
type_cast_helper:: (2 methods):
set_var()
recursive_set_var()
Class: type_cast_helper - X-Ref
A helper class that provides convenience methods for type casting.set_var(&$result, $var, $type, $multibyte = false, $trim = true) 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. param: bool $trim Indicates whether trim() should be applied to string values. |
recursive_set_var(&$var, $default, $multibyte, $trim = true) 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. param: bool $trim Indicates whether trim() should be applied to string values. |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |