home *** CD-ROM | disk | FTP | other *** search
/ Enter 2004 June / ENTER.ISO / files / xampp-win32-1.4.5-installer.exe / xampp / example.ini < prev    next >
Encoding:
INI File  |  2004-03-24  |  2.9 KB  |  89 lines

  1. ; Example INI File
  2.  
  3. [DB_DataObject]
  4.  
  5. database        = mysql://username:password@localhost/database
  6.         ; the default database dsn see pear spec for more details
  7.  
  8. schema_location = /home/me/Projects/myapplication/DataObjects
  9.         ;directory where the database ini files are..
  10.  
  11. ; you can also configure manually the ini_file location (and the links is expected to be the
  12. ; insame location) for each database by using the syntax
  13. ; ini_{databaseName} = /path/to/ini/file
  14.  
  15.  
  16. class_location  = /home/me/Projects/myapplication/DataObjects
  17.         ; directory where the Table classes are..
  18.  
  19. require_prefix  = DataObjects/
  20.         ;  prefix for the 'require statement'
  21.  
  22. class_prefix    = DataObjects_
  23.         ; Prefix Mapping of table name to PHP Class
  24.  
  25. ;table_example   = example
  26.         ; use database example for table example
  27.  
  28. ;database_example = mysql://username:password@host/database
  29.         ; use this dsn for database example
  30.  
  31. ; THIS IS IGNORED NOW - define the method sequenceKey() to return array(false,false)
  32. ; to stop useage of sequence keys.
  33. ; see sequenceKey Manual page for more details.
  34. ; ignore_sequence_keys = 
  35.  
  36.  
  37.  
  38. ;
  39. ;sequence_{tablename} = {column}
  40. ;        specify which column is autoincremented/nextval'd
  41. ;sequence_{tablename} = {column}:{sequence_name}
  42. ;        specify which column is nextval'd, and the sequence name to use for the column.
  43.  
  44.  
  45.  
  46.  
  47. ;               the generator settings (optional)
  48.  
  49. extends_location =      
  50. ;               string added to php file for 'include('DB/DataObject');'
  51. ;               usefull if you want to add an extra layer - eg. a table level auth scheme..
  52. ;               optional    :: default = DB/DataObject.php
  53.  
  54.  
  55. extends =           
  56. ;               string used in Table_XXX extends YYYY {
  57. ;               usefull if you want to add an extra layer - eg. a table level auth scheme..
  58. ;               optional    :: default = DB_DataObject
  59.  
  60. generator_class_rewrite = 
  61.  
  62. ; alter the extends field when updating a class (defaults to only replacing DB_DataObject)
  63. ; use ANY to will replace all extends with either DB_DataObject or the value of extends (above)
  64. ; use specific_name to replace 'specific_name'  with either DB_DataObject or the value of extends (above)
  65.  
  66.  
  67.  
  68. debug = 0
  69. ;               default debugging level 
  70.  
  71. debug_ignore_updates = 0
  72. ;               behaviour changed in > 0.10 so that you have to manually turn of updates
  73. ;         rather than it automatically being done by setting debug to  > 1
  74.  
  75.  
  76. dont_die = 0
  77. ;        if you set this to true or 1, then dataobjects will not die
  78. ;        on major errors like database connection etc. or programming errors
  79. ;        - you probably want to do this on a live server - and 
  80. ;        write a pear error handler.. - to send you an email!
  81.  
  82. ;quote_entities = 0
  83. ;        Quote table and column names when building queries - this relies on the 
  84. ;        quoteEntity method being available in PEAR::DB (it should be introduced in 1.5 final or 1.6)
  85.  
  86.  
  87. ;keep_query_after_fetch = 0
  88. ;        From 1.4 on the query building will be cleared after a fetch(1.5), or find(1.4)
  89. ;        To disable this behavior set this to 1