Commit Graph

25 Commits

Author SHA1 Message Date
ad556454a4 config : better error message
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2983 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-08-03 08:15:38 +00:00
a4b9eb0267 config : allow the first values to not be an array
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2959 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-26 07:31:42 +00:00
c3ad1085c1 config : allow the defaults vals to be returned in array of arrays
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2945 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-07-25 11:28:53 +00:00
5a1a015f11 config : if the default array "not configured" is not found, do not test the value
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2653 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-07 15:23:41 +00:00
29007c5afa config : allow to have the defaults params in ->get() in case of array without defined key
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2648 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-05 12:59:44 +00:00
3d39037c5b Rename all the "informations" to "information"
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2513 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-21 19:25:55 +00:00
55bf63d754 config : if no configuration file exists, the default one is data/configuration.php
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2204 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-06-15 09:41:51 +00:00
8f1d5f9076 config : allow to force the configuration file when it is set in the object (and not use the default ones)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2184 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-05-18 12:40:58 +00:00
016fac4be3 config : return a Exception code when there is an error
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2183 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-05-16 14:51:53 +00:00
78d2d5e4ca config : getAll function : return all the defined parameters
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2168 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-05-12 12:09:21 +00:00
2b92b68470 config : Add the '@prefix' support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2164 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-05-11 13:34:01 +00:00
852bf162b4 config : trim the arrays contents to be correctely detected
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2149 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-05-06 19:16:48 +00:00
6b21c41ff9 config : add the function docComment to read the parameters from the default config file. It permits to create easily the interface to configure the soft
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2148 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-05-06 13:30:26 +00:00
69442fa87d config : an array with "not configured" should not be presented if there is an other entry available
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2118 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-04-30 09:49:47 +00:00
d64f1f035e config : if the parameter is an array, check if all the keys are defined or use the default one
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2097 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-04-29 10:53:03 +00:00
22432f3e90 config : read the correct file automatically
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2093 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-04-29 09:47:47 +00:00
2fedd63db4 config : read the configuration from data or datas
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2092 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-04-29 09:38:29 +00:00
b8a3e1aa23 Update domframework to be gettext package compliant
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1661 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-06 13:16:43 +00:00
355a8f6111 Add comments to phpdoc
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1651 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-01 12:33:27 +00:00
39bfbad1e9 The params function of config don't display the default param, but return it in array
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1650 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-01 11:42:17 +00:00
9fef934b71 Cosmetics : remove spaces at the end of lines and correct lines with more than 80 chars
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1643 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-01 07:11:14 +00:00
725356dda0 Allow the configuration file to be defined by a PHP constant for phpunit
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1599 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-30 11:28:56 +00:00
350aa1dea8 Add all the phpdocs to the domframework
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1246 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-24 19:44:34 +00:00
4fa807a992 Add the possibility to display all the params available in the configuration with their default value
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1231 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-22 12:28:17 +00:00
e6309dc7a4 Add the configuration support to domframework. The informations are stored in a PHP file
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1219 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-14 13:53:09 +00:00