| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 4 | 3 | 0.950 | class_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 595 | libraries/joomla/application/component/controller.php |
| 2 | 5 | 462 | libraries/joomla/application/component/view.php |
| 3 | 4 | 493 | libraries/joomla/language/language.php |
| 4 | 4 | 528 | libraries/joomla/language/language.php |
| ||||
/**
* Sets the internal message that is passed with a redirect
*
* @access public
* @param string The message
* @return string Previous message
* @since 1.5
*/
function setMessage($text) {
$previous= $this->_message;
$this->_message = $text;
return $previous;
}
|
| ||||
/**
* Sets the layout name to use
*
* @access public
* @param string $template The template name.
* @return string Previous value
* @since 1.5
*/
function setLayout($layout) {
$previous= $this->_layout;
$this->_layout = $layout;
return $previous;
}
|
| ||||
/**
* Set the Debug property
*
* @access public
* @return boolean Previous value
* @since 1.5
*/
function setDebug($debug) {
$previous= $this->_debug;
$this->_debug = $debug;
return $previous;
}
|
| ||||
/**
* Set the default language code
*
* @access public
* @return string Previous value
* @since 1.5
*/
function setDefault($lang) {
$previous= $this->_default;
$this->_default = $lang;
return $previous;
}
|
| |||
/**
* Sets the internal message that is passed with a redirect
*
* @access public
* @param string The message
* @return string Previous message
* @since 1.5
*/
/**
* Sets the layout name to use
*
* @access public
* @param string $template The template name.
* @return string Previous value
* @since 1.5
*/
/**
* Set the default language code
*
* @access public
* @return string Previous value
* @since 1.5
*/
/**
* Set the Debug property
*
* @access public
* @return boolean Previous value
* @since 1.5
*/
function [[#variable41d517a0]]( [[#variable41d51720]]) {
$previous=$this-> [[#variable41d51740]];
$this-> [[#variable41d51740]]= [[#variable41d51720]];
return $previous;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#41d517a0]] | setMessage |
| 1 | 2 | [[#41d517a0]] | setLayout |
| 1 | 3 | [[#41d517a0]] | setDefault |
| 1 | 4 | [[#41d517a0]] | setDebug |
| 2 | 1 | [[#41d51720]] | $text |
| 2 | 2 | [[#41d51720]] | $layout |
| 2 | 3 | [[#41d51720]] | $lang |
| 2 | 4 | [[#41d51720]] | $debug |
| 3 | 1 | [[#41d51740]] | _message |
| 3 | 2 | [[#41d51740]] | _layout |
| 3 | 3 | [[#41d51740]] | _default |
| 3 | 4 | [[#41d51740]] | _debug |