[ Index ]
 

Code source de Typo3 4.1.3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/typo3/sysext/dbal/mod1/ -> index.php (sommaire)

Module 'DBAL Debug' for the 'dbal' extension.

Author: Kasper Skaarhoj <kasperYYYY@typo3.com>
Author: Karsten Dambekalns <karsten@typo3.org>
Poids: 575 lignes (23 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 typo3/sysext/dbal/mod1/conf.php

Définit 1 class

tx_dbal_module1:: (9 méthodes):
  menuConfig()
  main()
  jumpToUrl()
  printContent()
  printSqlCheck()
  updateQryForm()
  createFieldsValuesArray()
  printCachedInfo()
  printLogMgm()


Classe: tx_dbal_module1  - X-Ref

Script class; Backend module for DBAL extension

menuConfig()   X-Ref
Adds items to the ->MOD_MENU array. Used for the function menu selector.

return: void

main()   X-Ref
Main function of the module. Write the content to $this->content

return: void

jumpToUrl(URL)   X-Ref
Pas de description

printContent()   X-Ref
Prints out the module HTML

return: string HTML output

printSqlCheck()   X-Ref
Displays a form to check DBAL SQL methods and parse raw SQL.

return: string HTML output

updateQryForm(s)   X-Ref
Pas de description

createFieldsValuesArray($in)   X-Ref
Parses a very simple text format into an array.

Each line is seen as a key/value pair that is exploded at =. This is used
in the simple SQL check to input values for INSERT and UPDATE statements.

param: string $in String to parse into key/value array.
return: array Array created from the input string.

printCachedInfo()   X-Ref
Prints out the cached information about the database.

The DBAL caches a lot of information, e.g. about auto increment fields,
field types and primary keys. This method formats all this into a HTML
table to display in the BE.

return: string    HTML output

printLogMgm()   X-Ref
Printing the debug-log from the DBAL extension

To enabled debugging, you will have to enabled it in the configuration!

return: string HTML content



Généré le : Sun Nov 25 17:13:16 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics