Geeklog
[ class tree: Geeklog ] [ index: Geeklog ] [ all elements ]

Class: GL_Input

Source Location: /system/classes/input.class.php

Class Overview




Methods



Class Details

[line 36]


[ Top ]


Class Methods


constructor __construct [line 55]

GL_Input __construct( [boolean $useFilter = false])

Constructor

Check the current value of magic_quotes_gpc




Tags:

access:  public


Parameters:

boolean   $useFilter   whether to apply basic filter to a returned value

[ Top ]

method cookie [line 126]

array|null|string cookie( string $name, [string|array $defaultValue = null])

Return the value of $_COOKIE variable



Tags:

access:  public


Parameters:

string   $name   an index of $_COOKIE
string|array   $defaultValue  

[ Top ]

method env [line 162]

array|null|string env( string $name, [string|array $defaultValue = null])

Return the value of $_ENV variable



Tags:

access:  public


Parameters:

string   $name   an index of $_ENV
string|array   $defaultValue  

[ Top ]

method files [line 150]

array|null|string files( string $name, [string|array $defaultValue = null])

Return the value of $_FILES variable



Tags:

access:  public


Parameters:

string   $name   an index of $_FILES
string|array   $defaultValue  

[ Top ]

method get [line 102]

array|null|string get( string $name, [string|array $defaultValue = null])

Return the value of $_GET variable



Tags:

access:  public


Parameters:

string   $name   an index of $_GET
string|array   $defaultValue  

[ Top ]

method post [line 114]

array|null|string post( string $name, [string|array $defaultValue = null])

Return the value of $_POST variable



Tags:

access:  public


Parameters:

string   $name   an index of $_POST
string|array   $defaultValue  

[ Top ]

method req [line 203]

array|null|string req( string $name, [string|array $defaultValue = null])

Return the value of $_GET or $_POST variable depending on the current request method



Tags:

access:  public


Parameters:

string   $name   an index of $_GET or $_POST
string|array   $defaultValue  

[ Top ]

method request [line 174]

array|null|string request( string $name, [string|array $defaultValue = null])

Return the value of $_REQUEST variable



Tags:

access:  public


Parameters:

string   $name   an index of $_REQUEST
string|array   $defaultValue  

[ Top ]

method server [line 138]

array|null|string server( string $name, [string|array $defaultValue = null])

Return the value of $_SERVER variable



Tags:

access:  public


Parameters:

string   $name   an index of $_SERVER
string|array   $defaultValue  

[ Top ]

method session [line 187]

array|null|string session( string $name, [string|array $defaultValue = null])

Return the value of $_SESSION variable



Tags:

throws:  Exception
access:  public


Parameters:

string   $name   an index of $_SESSION
string|array   $defaultValue  

[ Top ]


Documentation generated on Sun, 02 Oct 2016 07:50:45 +0000 by phpDocumentor 1.4.3