- Description
-
Class trees
Index of elements
Todo List
Interfaces
Phpfox_Cache_Interface
Phpfox_Database_Interface
Phpfox_Gateway_Interface
Phpfox_Image_Interface
Phpfox_Mail_Interface
Classes
Database_Driver_Mssql
Database_Driver_Oracle
Database_Driver_Postgres
Database_Driver_Sqlite
Phpfox
Phpfox_Ajax
Phpfox_Api
Phpfox_Archive
Phpfox_Archive_Export
Phpfox_Archive_Extension_Tar
Phpfox_Archive_Extension_Xml
Phpfox_Archive_Extension_Zip
Phpfox_Archive_Import
Phpfox_Archive_Support
Phpfox_Cache
Phpfox_Cache_Abstract
Phpfox_Cache_Storage_File
Phpfox_Cache_Storage_Memcache
Phpfox_Cdn
Phpfox_Cdn_Abstract
Phpfox_Cdn_Module_S3
Phpfox_Component
Phpfox_Cron
Phpfox_Database
Phpfox_Database_Dba
Phpfox_Database_Driver_Mysql
Phpfox_Database_Driver_Mysqli
Phpfox_Database_Export
Phpfox_Database_Support
Phpfox_Date
Phpfox_Debug
Phpfox_Diff_Md5
Phpfox_Editor
Phpfox_Error
Phpfox_File
Phpfox_File_Minimize
Phpfox_Ftp
Phpfox_Gateway
Phpfox_Gateway_Api_2checkout
Phpfox_Gateway_Api_Paypal
Phpfox_Hash
Phpfox_Image
Phpfox_Image_Abstract
Phpfox_Image_Helper
Phpfox_Image_Library_Gd
Phpfox_Locale
Phpfox_Mail
Phpfox_Mail_Driver_Phpmailer_Mail
Phpfox_Mail_Driver_Phpmailer_Smtp
Phpfox_Module
Phpfox_Pager
Phpfox_Parse_Bbcode
Phpfox_Parse_Css
Phpfox_Parse_Format
Phpfox_Parse_Input
Phpfox_Parse_Output
Phpfox_Parse_Wiki
Phpfox_Plugin
Phpfox_Process
Phpfox_Request
Phpfox_Search
Phpfox_Search_Inline
Phpfox_Server
Phpfox_Service
Phpfox_Session
Phpfox_Session_Handler
Phpfox_Session_Handler_Default
Phpfox_Session_Handler_File
Phpfox_Session_Handler_Memcache
Phpfox_Session_Storage_Cookie
Phpfox_Session_Storage_Session
Phpfox_Setting
Phpfox_Spam
Phpfox_Spam_Hash
Phpfox_Template
Phpfox_Url
Phpfox_Validator
Phpfox_Xml_Builder
Phpfox_Xml_Parser
Functions
d
e
p
Files
2checkout.class.php
abstract.class.php
abstract.class.php
abstract.class.php
ajax.class.php
api.class.php
archive.class.php
bbcode.class.php
builder.class.php
cache.class.php
cdn.class.php
component.class.php
cookie.class.php
cron.class.php
css.class.php
database.class.php
date.class.php
dba.class.php
debug.class.php
default.class.php
editor.class.php
error.class.php
export.class.php
export.class.php
file.class.php
file.class.php
file.class.php
format.class.php
ftp.class.php
gateway.class.php
gd.class.php
handler.class.php
hash.class.php
hash.class.php
helper.class.php
image.class.php
import.class.php
inline.class.php
input.class.php
interface.class.php
interface.class.php
interface.class.php
interface.class.php
interface.class.php
locale.class.php
mail.class.php
mail.class.php
md5.class.php
memcache.class.php
memcache.class.php
minimize.class.php
module.class.php
mssql.class.php
mysql.class.php
mysqli.class.php
oracle.class.php
output.class.php
pager.class.php
parser.class.php
paypal.class.php
phpfox.class.php
plugin.class.php
postgres.class.php
process.class.php
request.class.php
s3.class.php
search.class.php
server.class.php
service.class.php
session.class.php
session.class.php
setting.class.php
smtp.class.php
spam.class.php
sqlite.class.php
support.class.php
support.class.php
tar.class.php
template.class.php
url.class.php
validator.class.php
wiki.class.php
xml.class.php
zip.class.php
Template-
Classes
Phpfox_Template_Cache
Files
cache.class.php
Phpfox_Database_Support
Works with all the supported database drivers we support and what the actual
server can handle as well. It can also perform certain tasks on all the database drivers without the need to seperate the command. This is mainly used during and install or upgrade or our product to find the supported database drivers and perform and modifications on the queries based on the driver being used.
Located in /include/library/phpfox/database/support.class.php (line 20)
array
$_aDbs
= array('mysql' => array(
'label' => 'MySQL',
'schema' => 'mysql',
'module' => 'mysql',
'delim' => ';',
'comments' => 'remove_remarks',
'driver' => 'mysql',
'available' => true
),'mysqli'=>array('label'=>'MySQL with MySQLi Extension','schema'=>'mysql','module'=>'mysqli','delim'=>';','comments'=>'remove_remarks','driver'=>'mysqli','available'=>true),'mssql'=>array('label'=>'MS SQL Server 2000+','schema'=>'mssql','module'=>'mssql','delim'=>'GO','comments'=>'remove_comments','driver'=>'mssql','available'=>false),'postgres'=>array('label'=>'PostgreSQL 7.x/8.x','schema'=>'postgres','module'=>'pgsql','delim'=>';','comments'=>'remove_comments','driver'=>'postgres','available'=>false),'sqlite'=>array('label'=>'SQLite','schema'=>'sqlite','module'=>'sqlite','delim'=>';','comments'=>'remove_remarks','driver'=>'sqlite','available'=>false),'oracle'=>array('label'=>'Oracle','schema'=>'oracle','module'=>'oci8','delim'=>'/','comments'=>'remove_comments','driver'=>'oracle','available'=>false),) (line 27)
Array of all the drivers we are testing but also the ones we just support at the moment.
Constructor __construct (line 88)
Class constructor
getColumns (line 249)
Gets all the columns for a specific database table.
- string $sTable: Database table to work with
- string $sDriver: Optional command to identify what SQL driver we are working with
- mixed $oDb: This can be an object or resource based on the SQL driver being used.
- &$oDb
getDriver (line 128)
Gets a specific driver and returns all the information about it.
- string $sLabel: Drivers name
getIndexes (line 287)
Gets all the indexes for a specific database table.
- string $sTable: Database table to work with
- string $sDriver: Optional command to identify what SQL driver we are working with
- mixed $oDb: This can be an object or resource based on the SQL driver being used.
- &$oDb
getSchema (line 141)
Returns an SQL schema for a specific driver. Only used in development mode when exporting our database before a release.
- string $sName: Name of the SQL driver
- string $sPrefix: Optional string for the prefix of the table names
getSupported (line 99)
Gets all the supported drivers by making sure the driver class exists and if the actual server has support for it.
- bool $bReturnAll: If set to TRUE it will return all the drivers even if they are not supported by the server.
getTables (line 324)
Gets all the tables from the database.
- string $sDriver: Optional command to identify what SQL driver we are working with
- mixed $oDb: This can be an object or resource based on the SQL driver being used.
- &$oDb
prepareSchema (line 428)
Prepares SQL code to be transformed into PHP logic to later be used during an upgrade of the script.
- array $aTables: Array of tables to export.
- mixed $oDb: This can be an object or resource based on the SQL driver being used.
- &$oDb
removeComments (line 213)
Remove any SQL comments from the output
- string $sContent: SQL code to parse and remove comments from
- &$sContent
removeRemarks (line 203)
Remove any SQL remarks from the output
- string $sContent: SQL code to parse and remove remarks from
- &$sContent
splitSqlFile (line 180)
Split an SQL schema or string based on the delimiter used by the specific database driver.
- string $sql: SQL code to parse
- string $delimiter: Delimiter used to split the SQL code
Documentation generated on Tue, 28 Sep 2010 10:36:44 +0200 by phpDocumentor 1.4.0a2