Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.983 | class_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 776 | libraries/joomla/form/form.php |
2 | 6 | 796 | libraries/joomla/form/form.php |
| ||||
/** * Method to get the input control for a field. * * @access public * @param string $name The field name. * @param string $group The group the field is in. * @param mixed $formControl The optional form control. Set to false to disable. * @param mixed $groupControl The optional group control. Set to false to disable. * @param mixed $value The optional value to render as the default for the field. * @return string The form field input control. * @since 1.6 */ public function getInput($name, $group= '_default', $formControl= '_default', $groupControl= '_default', $value= NULL) { // Render the field input. $field= $this->getField($name, $group, $formControl, $groupControl, $value); $input= $field->input; return $input; } |
| ||||
/** * Method to get the label for a field. * * @access public * @param string $name The field name. * @param string $group The group the field is in. * @param mixed $formControl The optional form control. Set to false to disable. * @param mixed $groupControl The optional group control. Set to false to disable. * @param mixed $value The optional value to render as the default for the field. * @return string The form field label. * @since 1.6 */ public function getLabel($name, $group= '_default', $formControl= '_default', $groupControl= '_default', $value= NULL) { // Render the field label. $field= $this->getField($name, $group, $formControl, $groupControl, $value); $label= $field->label; return $label; } |
| |||
/** * Method to get the input control for a field. * * @access public * @param string $name The field name. * @param string $group The group the field is in. * @param mixed $formControl The optional form control. Set to false to disable. * @param mixed $groupControl The optional group control. Set to false to disable. * @param mixed $value The optional value to render as the default for the field. * @return string The form field input control. * @since 1.6 */ /** * Method to get the label for a field. * * @access public * @param string $name The field name. * @param string $group The group the field is in. * @param mixed $formControl The optional form control. Set to false to disable. * @param mixed $groupControl The optional group control. Set to false to disable. * @param mixed $value The optional value to render as the default for the field. * @return string The form field label. * @since 1.6 */ public function [[#variable50cd0d80]]($name,$group='_default',$formControl='_default',$groupControl='_default',$value=NULL) { // Render the field input. // Render the field label. $field=$this->getField($name,$group,$formControl,$groupControl,$value); [[#variable50cd0cc0]]=$field-> [[#variable50cd0ce0]]; return [[#variable50cd0cc0]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#50cd0d80]] | getInput |
1 | 2 | [[#50cd0d80]] | getLabel |
2 | 1 | [[#50cd0cc0]] | $input |
2 | 2 | [[#50cd0cc0]] | $label |
3 | 1 | [[#50cd0ce0]] | input |
3 | 2 | [[#50cd0ce0]] | label |