Diff for phpMyEdit/phpMyEdit.class.php between version 1.201 and 1.202
version 1.201, 2007/09/08 11:47:22 |
version 1.202, 2007/09/10 08:40:48 |
|
|
* http://platon.sk/projects/phpMyEdit/ |
* http://platon.sk/projects/phpMyEdit/ |
*/ |
*/ |
|
|
/* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.200 2007-09-06 18:31:04 michal Exp $ */ |
/* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.201 2007-09-08 11:47:22 michal Exp $ */ |
|
|
/* This is a generic table editing program. The table and fields to be |
/* This is a generic table editing program. The table and fields to be |
edited are defined in the calling program. |
edited are defined in the calling program. |
|
|
$join_clause .= isset($this->fdd[$main_column]['values']['join']) |
$join_clause .= isset($this->fdd[$main_column]['values']['join']) |
? $this->substituteVars($this->fdd[$main_column]['values']['join'], $ar) |
? $this->substituteVars($this->fdd[$main_column]['values']['join'], $ar) |
: "$join_table.$join_column = $main_table.".$this->sd.$main_column.$this->ed; |
: "$join_table.$join_column = $main_table.".$this->sd.$main_column.$this->ed; |
if (isset($this->fdd[$main_column]['values']['filters'])) { |
|
$join_clause .= ' AND '; |
|
$join_clause .= $this->substituteVars($this->fdd[$main_column]['values']['filters'], $ar); |
|
} |
|
$join_clause .= ')'; |
$join_clause .= ')'; |
} |
} |
} |
} |
Platon Group <platon@platon.org> http://platon.org/
|
|