cKEY_COLUMN_USAGE::GetSourceFieldname() - rstoetter/libsqlphp GitHub Wiki
Method GetSourceFieldname( )
public string rstoetter\libsqlphp\cKEY_COLUMN_USAGE::GetSourceFieldname(string $source_tablename, string $target_tablename, string $target_fieldname)
- Namespace : rstoetter\libsqlphp
- Class name: cKEY_COLUMN_USAGE
- This method is defined by rstoetter\libsqlphp\cKEY_COLUMN_USAGE
The method GetSourceFieldname( ) returns the field name which is referenced by the foreign table $target_tablename and the foreign field $target_fieldname
Example:
Arguments
- $source_tablename string - <p>is the name of the table</p>
- $target_tablename string - <p>is the name of the referenced table</p>
- $target_fieldname string - <p>is the name of the referenced field</p>
Returns
string the field name or an empty string