| version 1.134, 2004/04/14 20:11:58 |
version 1.135, 2004/04/17 11:35:48 |
|
|
| * http://platon.sk/projects/phpMyEdit/ |
* http://platon.sk/projects/phpMyEdit/ |
| */ |
*/ |
| |
|
| /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.133 2004/04/14 17:30:08 nepto Exp $ */ |
/* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.134 2004/04/14 20:11:58 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. |
| Line 2870 function phpMyEdit_filter_handler(theFor |
|
| Line 2870 function phpMyEdit_filter_handler(theFor |
|
| function phpMyEdit($opts) /* {{{ */ |
function phpMyEdit($opts) /* {{{ */ |
| { |
{ |
| // Set desirable error reporting level |
// Set desirable error reporting level |
| $error_reporting = @error_reporting(E_ALL & ~E_NOTICE); |
$error_reporting = error_reporting(E_ALL & ~E_NOTICE); |
| // Instance class variables |
// Instance class variables |
| $this->hn = $opts['hn']; |
$this->hn = $opts['hn']; |
| $this->un = $opts['un']; |
$this->un = $opts['un']; |
| Line 3003 function phpMyEdit_filter_handler(theFor |
|
| Line 3003 function phpMyEdit_filter_handler(theFor |
|
| !isset($opts['execute']) && $opts['execute'] = 1; |
!isset($opts['execute']) && $opts['execute'] = 1; |
| $opts['execute'] && $this->execute(); |
$opts['execute'] && $this->execute(); |
| // Restore original error reporting level |
// Restore original error reporting level |
| @error_reporting($error_reporting); |
error_reporting($error_reporting); |
| } /* }}} */ |
} /* }}} */ |
| |
|
| } |
} |