Diff for phpMyEdit/phpMyEdit.class.php between version 1.81 and 1.82
version 1.81, 2003/05/12 22:30:22 |
version 1.82, 2003/05/31 21:14:14 |
|
|
* http://www.platon.sk/projects/phpMyEdit/ |
* http://www.platon.sk/projects/phpMyEdit/ |
*/ |
*/ |
|
|
/* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.80 2003/05/02 17:55:47 nepto Exp $ */ |
/* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.81 2003/05/12 22:30:22 nepto 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. |
|
|
function copy_enabled() { return stristr($this->options, 'P') && $this->add_enabled(); } |
function copy_enabled() { return stristr($this->options, 'P') && $this->add_enabled(); } |
function hidden($k) { return stristr($this->fdd[$k]['options'],'H'); } |
function hidden($k) { return stristr($this->fdd[$k]['options'],'H'); } |
function password($k) { return stristr($this->fdd[$k]['options'],'W'); } |
function password($k) { return stristr($this->fdd[$k]['options'],'W'); } |
function readonly($k) { return stristr($this->fdd[$k]['options'],'R') || $this->fdd[$k]['sql']; } |
function readonly($k) { return stristr($this->fdd[$k]['options'],'R'); } |
|
|
function add_operation() { return $this->operation == $this->labels['Add'] && $this->add_enabled(); } |
function add_operation() { return $this->operation == $this->labels['Add'] && $this->add_enabled(); } |
function change_operation() { return $this->operation == $this->labels['Change'] && $this->change_enabled(); } |
function change_operation() { return $this->operation == $this->labels['Change'] && $this->change_enabled(); } |
Platon Group <platon@platon.org> http://platon.org/
|
|