Fix typo in comments and function name ('foriegn' to 'foreign')
This commit is contained in:
parent
956cc18d39
commit
92d3dcad3c
@ -545,7 +545,7 @@ function query_from()
|
||||
quer = temp;
|
||||
tab_used.push(temp);
|
||||
// if master table (key2) matches with tab used get all keys and check if tab_left matches
|
||||
//after this check if master table (key2) matches with tab left then check if any foriegn matches with master .
|
||||
// after this check if master table (key2) matches with tab left then check if any foreign matches with master .
|
||||
for (i =0; i<2 ; i++) {
|
||||
for (K in contr) {
|
||||
for (key in contr[K]) {// contr name
|
||||
|
||||
@ -4584,7 +4584,7 @@ class PMA_DisplayResults
|
||||
$exist_rel = false;
|
||||
} else {
|
||||
// This method set the values for $map array
|
||||
$this->_setParamForLinkForiegnKeyRelatedTables($map);
|
||||
$this->_setParamForLinkForeignKeyRelatedTables($map);
|
||||
} // end if
|
||||
// end 2b
|
||||
|
||||
@ -4967,7 +4967,7 @@ class PMA_DisplayResults
|
||||
*
|
||||
* @see getTable()
|
||||
*/
|
||||
private function _setParamForLinkForiegnKeyRelatedTables(&$map)
|
||||
private function _setParamForLinkForeignKeyRelatedTables(&$map)
|
||||
{
|
||||
|
||||
// To be able to later display a link to the related table,
|
||||
@ -4997,7 +4997,7 @@ class PMA_DisplayResults
|
||||
} // end while
|
||||
} // end if
|
||||
|
||||
} // end of the '_setParamForLinkForiegnKeyRelatedTables()' function
|
||||
} // end of the '_setParamForLinkForeignKeyRelatedTables()' function
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -1977,7 +1977,7 @@ function PMA_getWarningMessages()
|
||||
* table or optionally a given column in a table
|
||||
* @param string $relation_field relation field
|
||||
*
|
||||
* @return string $dispval display value from the foriegn table
|
||||
* @return string $dispval display value from the foreign table
|
||||
*/
|
||||
function PMA_getDisplayValueForForeignTableColumn($where_comparison,
|
||||
$relation_field_value, $map, $relation_field
|
||||
@ -2010,7 +2010,7 @@ function PMA_getDisplayValueForForeignTableColumn($where_comparison,
|
||||
* table or optionally a given column in a table
|
||||
* @param string $relation_field relation field
|
||||
* @param string $where_comparison string that contain relation field value
|
||||
* @param string $dispval display value from the foriegn table
|
||||
* @param string $dispval display value from the foreign table
|
||||
* @param string $relation_field_value relation field value
|
||||
*
|
||||
* @return string $output HTML <a> tag
|
||||
|
||||
Loading…
Reference in New Issue
Block a user