phpClick
[ class tree: phpClick ] [ index: phpClick ] [ all elements ]

Class: Database

Source Location: /includes/Database.inc.php

Class Overview


This class represents the internal phpClick database that contains user, application info


Methods



Class Details

[line 6]
This class represents the internal phpClick database that contains user, application info

but does not contain any data of a particular application that was generated with phpClick




[ Top ]


Class Methods


constructor __construct [line 16]

Database __construct( )

Constructs a new database connection



Tags:

access:  public


[ Top ]

method getSqlEscapeOf [line 41]

string getSqlEscapeOf( string $sValue)

Returns an escaped version of a string to be safely used within a MySQL SQL query

This function helps avoid SQL injection attacks




Tags:

return:  The escaped version of the value


Parameters:

string   $sValue   The value to be escaped

[ Top ]

method query [line 28]

mysqli_result query( string $sQuery)

Sends a SQL query to the database



Tags:

return:  Object that represents the query results
access:  public


Parameters:

string   $sQuery   The SQL query

[ Top ]


Documentation generated on Wed, 12 Jan 2005 17:51:22 -0500 by phpDocumentor 1.3.0RC3