Changeset 396 for trunk/lib/DB.inc.php


Ignore:
Timestamp:
Feb 11, 2012 4:17:05 PM (12 years ago)
Author:
anonymous
Message:

Updated copyright date; comments elaboration; spelling fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/DB.inc.php

    r380 r396  
    33 * The Strangecode Codebase - a general application development framework for PHP
    44 * For details visit the project site: <http://trac.strangecode.com/codebase/>
    5  * Copyright 2001-2010 Strangecode, LLC
     5 * Copyright 2001-2012 Strangecode, LLC
    66 *
    77 * This file is part of The Strangecode Codebase.
     
    307307     * create tables if missing.
    308308     *
    309      * @param  string $table    The name of the table to search.
    310      * @param  bool   $strict   Get 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.
    312312     */
    313313    function tableExists($table, $use_cached_results=true)
     
    337337     * Tests if the given array of columns exists in the specified table.
    338338     *
    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   $strict   Get 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.
    344344     */
    345345    function columnExists($table, $columns, $strict=true, $use_cached_results=true)
     
    383383   
    384384    /*
    385     * Return the total number of queries run this for.
     385    * Return the total number of queries executed thus far.
    386386    *
    387387    * @access   public
Note: See TracChangeset for help on using the changeset viewer.