PHP Classes
elePHPant
Icontem

File: tests/configs/database.xml

Recommend this page to a friend!
  Classes of Andre Roque Filipe  >  Config4all  >  tests/configs/database.xml  >  Download  
File: tests/configs/database.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Config4all
Load configuration files in multiple formats
Author: By
Last change: V2.2.0 (#2)

* Updated dependencies

* Permitions changed

* Added some exception classes

* Permitions changed

* Changed the set method algoritm, now uses pointes instead of merging arrays
Method objectives now are different, load -> loads a single file to the configs, without setting the keys as the filename, this is to be used as to load a backup file of the configs, save -> this method saves a full backup of all the configurations changes into a single file, read -> loads multiple files into the config array, like the old load method did, write -> writes every configuration into it's respective file
Added auxiliary methods to read and write files

* Added sugestions

* ...

* testing season

* Fixed some todo's

* Changed the test files

* Added misc files

* Changed the docs

* Changed [] to array()

* Deleted unused class

* Small fix on the php export

* Initial commit of the tests

* Added phpstorm to ignored files

* Added new methods to read/write contents

* Changes...
Date: 1 month ago
Size: 152 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="utf-8"?>
<database>
  <host>localhost</host>
  <name>config4all</name>
  <user>root</user>
  <pass>xpto</pass>
</database>