Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.993 | class_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 127 | libraries/joomla/methods.php |
2 | 9 | 146 | libraries/joomla/methods.php |
| ||||
/** * Passes a string thru an sprintf * * @access public * @param format The format string * @param mixed Mixed number of arguments for the sprintf function * @since 1.5 */ function sprintf($string) { $lang= &JFactory::getLanguage(); $args= func_get_args(); if (count($args)> 0) { $args[0]= $lang->_($args[0]); return call_user_func_array('sprintf', $args); } return ''; } |
| ||||
/** * Passes a string thru an printf * * @access public * @param format The format string * @param mixed Mixed number of arguments for the sprintf function * @since 1.5 */ function printf($string) { $lang= &JFactory::getLanguage(); $args= func_get_args(); if (count($args)> 0) { $args[0]= $lang->_($args[0]); return call_user_func_array('printf', $args); } return ''; } |
| |||
/** * Passes a string thru an printf * * @access public * @param format The format string * @param mixed Mixed number of arguments for the sprintf function * @since 1.5 */ /** * Passes a string thru an sprintf * * @access public * @param format The format string * @param mixed Mixed number of arguments for the sprintf function * @since 1.5 */ function [[#variable2391a860]]($string) { $lang= &JFactory::getLanguage(); $args=func_get_args(); if (count($args)>0) { $args[0]=$lang->_($args[0]); return call_user_func_array( [[#variable2391ab00]],$args); } return ''; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2391a860]] | printf |
1 | 2 | [[#2391a860]] | sprintf |
2 | 1 | [[#2391ab00]] | 'printf' |
2 | 2 | [[#2391ab00]] | 'sprintf' |