[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

/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: 59 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

type_cast_helper_interface:: (4 methods):
  addslashes_recursively()
  add_magic_quotes()
  set_var()
  recursive_set_var()


Interface: type_cast_helper_interface  - X-Ref

An interface for type cast operations.

addslashes_recursively(&$var)   X-Ref
Recursively applies addslashes to a variable.

param: mixed    &$var    Variable passed by reference to which slashes will be added.

add_magic_quotes(&$var)   X-Ref
Recursively applies addslashes to a variable if magic quotes are turned on.

param: mixed    &$var    Variable passed by reference to which slashes will be added.

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: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1