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

File: Config

Source Location: /PhpDocumentor-1.2.0beta2/Documentation/tests/bug-560532.php

Classes:

Page Details:

Config file for MLib

File includes all of the static variables that controls the default behavior of MLib.

Includes:

require_once(MLIB_INCLUDE_PATH.'/Template/TemplateDB.php') [line 145]
TemplateDB include file
  • See: TemplateDB
require_once(MLIB_INCLUDE_PATH.'/Template/TemplateFile.php') [line 139]
TemplateFile include file
  • See: TemplateFile
require_once(MLIB_INCLUDE_PATH.'/MLib.php') [line 109]
MLib include file
  • See: MLib
require_once(MLIB_INCLUDE_PATH.'/Template.php') [line 133]
Template include file
require_once(MLIB_INCLUDE_PATH.'/Template/TemplateVar.php') [line 151]
TemplateVar include file
  • See: TemplateVar
require_once(MLIB_INCLUDE_PATH.'/DSN.php') [line 121]
DSN include file
  • See: DSN
require_once(MLIB_INCLUDE_PATH.'/Debug.php') [line 115]
Debug include file
  • See: Debug
require_once(MLIB_INCLUDE_PATH.'/Table.php') [line 127]
Table include file
  • See: Table

array $_MLIB_GLOBAL_DSN [line 99]

Global DSN to be used by classes

The DSN to be used. Please see the PEAR documentation information.

Default value:   array('db_type'=> 'mysql',
                            'username' => 'nobody',
                            'password' => '',
                            'database' => 'miester',
                            'server' => 'localhost')


[ Top ]



MLIB_GLOBAL_DEBUG [line 85]

MLIB_GLOBAL_DEBUG = false
Global debugging

By turning on global debugging you enable debugging in ALL classes derived from MLib on ALL pages. BE CAREFUL SETTING THIS TO TRUE!!


[ Top ]



MLIB_INCLUDE_PATH [line 24]

MLIB_INCLUDE_PATH = '/home/jstump/public_html/v3/includes'
MLib include path

[ Top ]



MLIB_LOG_FILE [line 36]

MLIB_LOG_FILE = '/tmp/mlib.log'
Default log file

The log file where you wish all class errors to be Must be writable by the webserver.


[ Top ]



MLIB_SYSLOG_PRIORITY [line 60]

MLIB_SYSLOG_PRIORITY = LOG_WARNING
Syslog priority

The PHP function syslog takes a priority as a parameter. do not know what this means do NOT change this variable.


[ Top ]



MLIB_TEMPLATE_PATH [line 73]

MLIB_TEMPLATE_PATH = MLIB_INCLUDE_PATH.'/templates'
Template path

MLib comes with a template class that lets you separate your code from your HTML. This is the path where the template reside.


[ Top ]



MLIB_USE_SYSLOG [line 47]

MLIB_USE_SYSLOG = false
Use syslog

If set to true MLib will send errors to syslog instead of the file defined in MLIB_LOG_FILE


[ Top ]



Documentation generated on Fri, 30 Apr 2004 22:09:24 +0200 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.