[ PHPXref.com ] [ Generated: Sun Jul 20 17:59:00 2008 ] [ Glossword 1.7.0 ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/lib/ -> class.db.mysql.php (summary)

Glossword - glossary compiler (http://glossword.info/dev/) 2002-2004 Dmitry N. Shilnikov <dev at glossword.info> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. (see `glossword/support/license.html' for details)

File Size: 486 lines (12 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

gwtkDataBase:: (24 methods):
  setCache()
  connect()
  query()
  isDuplicate()
  next_record()
  free_result()
  close()
  halt()
  haltmsg()
  lock()
  unlock()
  num_fields()
  num_rows()
  affected_rows()
  r()
  get_databases()
  table_names()
  table_info()
  MaxId()
  sqlRun()
  sqlExec()
  _sql_is_cached()
  _sql_return()
  prn_limit()

gwtkDb:: (0 methods):


Class: gwtkDataBase  - X-Ref

setCache($dir = '')   X-Ref
Calls Universal query-caching engine (is exist)
by Dmitry Shilnikov <dev at glossword.info>


connect($db_host = '', $db_user = '', $db_password = '', $db_name = '', $is_pconnect = 0)   X-Ref
No description

query($query = '')   X-Ref
Post a query to database


isDuplicate($query = '')   X-Ref
No description

next_record()   X-Ref
No description

free_result($query_id = -1)   X-Ref
No description

close()   X-Ref
No description

halt($msg, $errMode = ON_ERROR_DEFAULT)   X-Ref
No description

haltmsg($msg)   X-Ref
No description

lock($table, $mode = "WRITE")   X-Ref
No description

unlock()   X-Ref
No description

num_fields()   X-Ref
No description

num_rows()   X-Ref
No description

affected_rows()   X-Ref
No description

r($name)   X-Ref
No description

get_databases()   X-Ref
No description

table_names($tablename = '')   X-Ref
No description

table_info($tablename = '')   X-Ref
No description

MaxId($tablename, $field = 'id')   X-Ref
No description

sqlRun($q, $cache_prefix = '')   X-Ref
All queries for cache


sqlExec($q, $cache_prefix = '', $is_cache_def = 1)   X-Ref
Executes query without cache


_sql_is_cached($q, $cache_prefix = '')   X-Ref


_sql_return($q, $cache_prefix = '')   X-Ref


prn_limit($numpages, $page, $perpage)   X-Ref
Builds query "LIMIT n,n" for database

param: int   $numpages total number of pages
param: int   $page     current page number
param: int   $perpage  items per page
return: string  part of database query

Class: gwtkDb  - X-Ref



[ Powered by PHPXref - Served by Debian GNU/Linux ]