Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 3 | 1 | 0.992 | class_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 27 | administrator/components/com_categories/controllers/categories.php |
2 | 9 | 27 | administrator/components/com_menus/controllers/items.php |
3 | 7 | 25 | administrator/components/com_weblinks/controllers/weblinks.php |
| ||||
/** * Constructor. * * @param array An optional associative array of configuration settings. * @see JController */ public function __construct($config= array()) { parent:: __construct($config); // Register proxy tasks. $this->registerTask('unpublish', 'publish'); $this->registerTask('trash', 'publish'); $this->registerTask('orderup', 'ordering'); $this->registerTask('orderdown', 'ordering'); } |
| ||||
/** * Constructor. * * @param array An optional associative array of configuration settings. * @see JController */ public function __construct($config= array()) { parent:: __construct($config); // Register proxy tasks. $this->registerTask('unpublish', 'publish'); $this->registerTask('trash', 'publish'); $this->registerTask('orderup', 'ordering'); $this->registerTask('orderdown', 'ordering'); } |
| ||||
/** * Constructor. * * @param array An optional associative array of configuration settings. * @see JController */ public function __construct($config= array()) { parent:: __construct($config); $this->registerTask('unpublish', 'publish'); $this->registerTask('trash', 'publish'); $this->registerTask('orderup', 'reorder'); $this->registerTask('orderdown', 'reorder'); } |
| |||
/** * Constructor. * * @param array An optional associative array of configuration settings. * @see JController */ public function __construct($config=array()) { parent:: __construct($config); // Register proxy tasks. $this->registerTask('unpublish','publish'); $this->registerTask('trash','publish'); $this->registerTask('orderup', [[#variable524dabc0]]); $this->registerTask('orderdown', [[#variable524dabc0]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#524dabc0]] | 'reorder' |
1 | 2 | [[#524dabc0]] | 'ordering' |
1 | 3 | [[#524dabc0]] | 'ordering' |