Changeset 396 for trunk/lib/DB.inc.php
- Timestamp:
- Feb 11, 2012 4:17:05 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/DB.inc.php
r380 r396 3 3 * The Strangecode Codebase - a general application development framework for PHP 4 4 * For details visit the project site: <http://trac.strangecode.com/codebase/> 5 * Copyright 2001-201 0Strangecode, LLC5 * Copyright 2001-2012 Strangecode, LLC 6 6 * 7 7 * This file is part of The Strangecode Codebase. … … 307 307 * create tables if missing. 308 308 * 309 * @param string $table The name of the table to search.310 * @param bool $ strictGet fresh table info (in case DB changed).311 * @return bool true if given $table exists.309 * @param string $table The name of the table to search. 310 * @param bool $use_cached_results Get fresh table info (in case DB changed). 311 * @return bool true if given $table exists. 312 312 */ 313 313 function tableExists($table, $use_cached_results=true) … … 337 337 * Tests if the given array of columns exists in the specified table. 338 338 * 339 * @param string $table The name of the table to search.340 * @param array $columns An array of column names.341 * @param bool $strict Exact schema match, or are additional fields in the table okay?342 * @param bool $ strictGet fresh table info (in case DB changed).343 * @return bool true if given $table exists.339 * @param string $table The name of the table to search. 340 * @param array $columns An array of column names. 341 * @param bool $strict Exact schema match, or are additional fields in the table okay? 342 * @param bool $use_cached_results Get fresh table info (in case DB changed). 343 * @return bool true if column(s) exist. 344 344 */ 345 345 function columnExists($table, $columns, $strict=true, $use_cached_results=true) … … 383 383 384 384 /* 385 * Return the total number of queries run this for.385 * Return the total number of queries executed thus far. 386 386 * 387 387 * @access public
Note: See TracChangeset
for help on using the changeset viewer.