[ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 383 lignes (15 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
check_table($table,$tables,$existence=True) X-Ref |
Checks if table $table exists or not, die's with an error-message if the check went wrong param: string $table table-name param: array $tables array of table-names from call to MetaTables() param: boolean $existence=true should we check for existence or none-existence, default existence |
check_column($column,$columns,$existence=True) X-Ref |
Checks if $column exists or not, die's with an error-message if the check went wrong param: string $column column-name param: array $columns array of adodb field objects from MetaColumns($table) param: boolean $existence=true should we check for existence or none-existence, default existence |
check_column_type($column,$type,$precision,$columns) X-Ref |
Checks the type of a column param: string $column column-name param: string $type column-type as the DB uses it, no eGW type !!! param: int $precision precision param: array $columns array of adodb field objects from MetaColumns($table) |
check_index($columns,$unique,$indexes,$existence=True) X-Ref |
Checks if $idx exists or not, die's with an error-message if the check went wrong param: array $columns array of strings with column-names of that index param: boolean $unique unique index or not param: array $indexes array of index-describtions from call to MetaIndexes($table) param: boolean $existence=true should we check for existence or none-existence, default existence |
check_content($is,$should,$return_false=false) X-Ref |
Checks the content written to the table param: array $is content read from the database via GetAll() param: array $should content against which we test param: boolean $return_false=false return false if the check fails or die with an error-msg, default die |
Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |