english/administrator/components/com_aicontactsafe/models/fields.php
// function to generate the new name of a duplicated field
function to generate the new name of a duplicated field
function to generate the new name of a duplicated field
function checkDuplicatedName($current_name = '') {
		$dup_no = 2;
		while($this->nameUsed(trim($current_name).'_'.$dup_no)) {
			$dup_no += 1;
		}
		return trim($current_name).'_'.$dup_no;
	}
function checkDuplicatedName ( $ current_name = '' ) { $ dup_no = 2 ; while ( $ this -> nameUsed ( trim ( $ current_name ) . '_' . $ dup_no ) ) { $ dup_no += 1 ; } return trim ( $ current_name ) . '_' . $ dup_no ; }
function to generate the new name of a duplicated field
function to generate the new name of a duplicated field