Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
29 | 2 | 0 | 1.000 | class_member_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 29 | 68 | administrator/components/com_modules/models/module.php |
2 | 29 | 87 | administrator/components/com_templates/models/template.php |
| ||||
/** * Method to set the module identifier * * @access public * @param int module identifier */ function setId($id) { // Set module id and wipe data $this->_id = $id; $this->_data = NULL; } /** * Method to get a module * * @since 1.6 */ function &getData() { // Load the data if (!$this->_loadData()) $this->_initData(); return $this->_data; } /** * Method to get the client object * * @since 1.6 */ function &getClient() { return $this->_client; } |
| ||||
/** * Method to set the Template identifier * * @access public * @param int Template identifier */ function setId($id) { // Set Template id and wipe data $this->_id = $id; $this->_data = NULL; } /** * Method to get a Template * * @since 1.6 */ function &getData() { // Load the data if (!$this->_loadData()) $this->_initData(); return $this->_data; } /** * Method to get the client object * * @since 1.6 */ function &getClient() { return $this->_client; } |
| |||
/** * Method to set the module identifier * * @access public * @param int module identifier */ /** * Method to set the Template identifier * * @access public * @param int Template identifier */ function setId($id) { // Set module id and wipe data // Set Template id and wipe data $this->_id =$id; $this->_data =NULL; } /** * Method to get a module * * @since 1.6 */ /** * Method to get a Template * * @since 1.6 */ function &getData() { // Load the data if (!$this->_loadData()) $this->_initData(); return $this->_data; } /** * Method to get the client object * * @since 1.6 */ function &getClient() { return $this->_client; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |