Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 5 | 3 | 0.970 | class_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 172 | libraries/joomla/environment/request.php |
2 | 3 | 191 | libraries/joomla/environment/request.php |
3 | 3 | 210 | libraries/joomla/environment/request.php |
4 | 3 | 229 | libraries/joomla/environment/request.php |
5 | 3 | 248 | libraries/joomla/environment/request.php |
| ||||
/** * Fetches and returns a given filtered variable. The integer * filter will allow only digits to be returned. This is currently * only a proxy function for getVar(). * * See getVar() for more in-depth documentation on the parameters. * * @static * @param string $name Variable name * @param string $default Default value if the variable does not exist * @param string $hash Where the var should come from (POST, GET, FILES, COOKIE, METHOD) * @return integer Requested variable * @since 1.5 */ static function getInt($name, $default= 0, $hash= 'default') { return JRequest::getVar($name, $default, $hash, 'int'); } |
| ||||
/** * Fetches and returns a given filtered variable. The float * filter only allows digits and periods. This is currently * only a proxy function for getVar(). * * See getVar() for more in-depth documentation on the parameters. * * @static * @param string $name Variable name * @param string $default Default value if the variable does not exist * @param string $hash Where the var should come from (POST, GET, FILES, COOKIE, METHOD) * @return float Requested variable * @since 1.5 */ static function getFloat($name, $default= 0.0, $hash= 'default') { return JRequest::getVar($name, $default, $hash, 'float'); } |
| ||||
/** * Fetches and returns a given filtered variable. The bool * filter will only return true/false bool values. This is * currently only a proxy function for getVar(). * * See getVar() for more in-depth documentation on the parameters. * * @static * @param string $name Variable name * @param string $default Default value if the variable does not exist * @param string $hash Where the var should come from (POST, GET, FILES, COOKIE, METHOD) * @return bool Requested variable * @since 1.5 */ static function getBool($name, $default= FALSE, $hash= 'default') { return JRequest::getVar($name, $default, $hash, 'bool'); } |
| ||||
/** * Fetches and returns a given filtered variable. The word * filter only allows the characters [A-Za-z_]. This is currently * only a proxy function for getVar(). * * See getVar() for more in-depth documentation on the parameters. * * @static * @param string $name Variable name * @param string $default Default value if the variable does not exist * @param string $hash Where the var should come from (POST, GET, FILES, COOKIE, METHOD) * @return string Requested variable * @since 1.5 */ static function getWord($name, $default= '', $hash= 'default') { return JRequest::getVar($name, $default, $hash, 'word'); } |
| ||||
/** * Fetches and returns a given filtered variable. The cmd * filter only allows the characters [A-Za-z0-9.-_]. This is * currently only a proxy function for getVar(). * * See getVar() for more in-depth documentation on the parameters. * * @static * @param string $name Variable name * @param string $default Default value if the variable does not exist * @param string $hash Where the var should come from (POST, GET, FILES, COOKIE, METHOD) * @return string Requested variable * @since 1.5 */ static function getCmd($name, $default= '', $hash= 'default') { return JRequest::getVar($name, $default, $hash, 'cmd'); } |
| |||
/** * Fetches and returns a given filtered variable. The integer * filter will allow only digits to be returned. This is currently * only a proxy function for getVar(). * * See getVar() for more in-depth documentation on the parameters. * * @static * @param string $name Variable name * @param string $default Default value if the variable does not exist * @param string $hash Where the var should come from (POST, GET, FILES, COOKIE, METHOD) * @return integer Requested variable * @since 1.5 */ /** * Fetches and returns a given filtered variable. The float * filter only allows digits and periods. This is currently * only a proxy function for getVar(). * * See getVar() for more in-depth documentation on the parameters. * * @static * @param string $name Variable name * @param string $default Default value if the variable does not exist * @param string $hash Where the var should come from (POST, GET, FILES, COOKIE, METHOD) * @return float Requested variable * @since 1.5 */ /** * Fetches and returns a given filtered variable. The bool * filter will only return true/false bool values. This is * currently only a proxy function for getVar(). * * See getVar() for more in-depth documentation on the parameters. * * @static * @param string $name Variable name * @param string $default Default value if the variable does not exist * @param string $hash Where the var should come from (POST, GET, FILES, COOKIE, METHOD) * @return bool Requested variable * @since 1.5 */ /** * Fetches and returns a given filtered variable. The word * filter only allows the characters [A-Za-z_]. This is currently * only a proxy function for getVar(). * * See getVar() for more in-depth documentation on the parameters. * * @static * @param string $name Variable name * @param string $default Default value if the variable does not exist * @param string $hash Where the var should come from (POST, GET, FILES, COOKIE, METHOD) * @return string Requested variable * @since 1.5 */ /** * Fetches and returns a given filtered variable. The cmd * filter only allows the characters [A-Za-z0-9.-_]. This is * currently only a proxy function for getVar(). * * See getVar() for more in-depth documentation on the parameters. * * @static * @param string $name Variable name * @param string $default Default value if the variable does not exist * @param string $hash Where the var should come from (POST, GET, FILES, COOKIE, METHOD) * @return string Requested variable * @since 1.5 */ static function [[#variable3c3dca00]]($name,$default= [[#variable3c3dc960]],$hash='default') { return JRequest::getVar($name,$default,$hash, [[#variable3c3dc900]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3c3dca00]] | getInt |
1 | 2 | [[#3c3dca00]] | getFloat |
1 | 3 | [[#3c3dca00]] | getBool |
1 | 4 | [[#3c3dca00]] | getWord |
1 | 5 | [[#3c3dca00]] | getCmd |
2 | 1 | [[#3c3dc960]] | 0 |
2 | 2 | [[#3c3dc960]] | 0.0 |
2 | 3 | [[#3c3dc960]] | FALSE |
2 | 4 | [[#3c3dc960]] | '' |
2 | 5 | [[#3c3dc960]] | '' |
3 | 1 | [[#3c3dc900]] | 'int' |
3 | 2 | [[#3c3dc900]] | 'float' |
3 | 3 | [[#3c3dc900]] | 'bool' |
3 | 4 | [[#3c3dc900]] | 'word' |
3 | 5 | [[#3c3dc900]] | 'cmd' |