Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.982 | class_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 103 | libraries/joomla/html/toolbar.php |
2 | 6 | 141 | libraries/joomla/html/toolbar.php |
| ||||
/** * Set a value * * @access public * @param string The name of the param * @param string The value of the parameter * @return string The set value */ public function appendButton() { // Push button onto the end of the toolbar array $btn= func_get_args(); array_push($this->_bar ,$btn); return TRUE; } |
| ||||
/** * Get a value * * @access public * @param string The name of the param * @param mixed The default value if not found * @return string */ public function prependButton() { // Insert button into the front of the toolbar array $btn= func_get_args(); array_unshift($this->_bar ,$btn); return TRUE; } |
| |||
/** * Set a value * * @access public * @param string The name of the param * @param string The value of the parameter * @return string The set value */ /** * Get a value * * @access public * @param string The name of the param * @param mixed The default value if not found * @return string */ public function [[#variable58922ee0]]() { // Push button onto the end of the toolbar array // Insert button into the front of the toolbar array $btn=func_get_args(); [[#variable58922ec0]]($this->_bar ,$btn); return TRUE; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#58922ee0]] | appendButton |
1 | 2 | [[#58922ee0]] | prependButton |
2 | 1 | [[#58922ec0]] | array_push |
2 | 2 | [[#58922ec0]] | array_unshift |