From 10aed2f07c035dabada464345b059de2e1384517 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Fri, 7 Aug 2015 10:37:54 +0545 Subject: [PATCH 1/3] Dev App Config minor corrections --- developer_manual/app/configuration.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/developer_manual/app/configuration.rst b/developer_manual/app/configuration.rst index 15c22497d..aa34bd894 100644 --- a/developer_manual/app/configuration.rst +++ b/developer_manual/app/configuration.rst @@ -4,7 +4,7 @@ Configuration .. sectionauthor:: Bernhard Posselt -The config allows the app to set global, app and user settings can be injected from the ServerContainer. All values are saved as strings and must be casted to the correct value. +The config that allows the app to set global, app and user settings can be injected from the ServerContainer. All values are saved as strings and must be casted to the correct value. .. code-block:: php @@ -42,7 +42,7 @@ The config allows the app to set global, app and user settings can be injected f System values ============= -System values are saved in the :file:`config/config.php` and allow to modify and read the global configuration: +System values are saved in the :file:`config/config.php` and allow the app to modify and read the global configuration: .. code-block:: php @@ -135,4 +135,4 @@ User values are saved in the database per user and app and are good for saving u $this->config->setUserValue($userId, $this->appName, $key, $value); } - } \ No newline at end of file + } From d8782f3edde45a94068e73552e42c84c3fe79e50 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Sat, 8 Aug 2015 18:40:09 +0545 Subject: [PATCH 2/3] Dev App Config fix verb "to cast" --- developer_manual/app/configuration.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/developer_manual/app/configuration.rst b/developer_manual/app/configuration.rst index aa34bd894..b83e3e0e3 100644 --- a/developer_manual/app/configuration.rst +++ b/developer_manual/app/configuration.rst @@ -4,7 +4,7 @@ Configuration .. sectionauthor:: Bernhard Posselt -The config that allows the app to set global, app and user settings can be injected from the ServerContainer. All values are saved as strings and must be casted to the correct value. +The config that allows the app to set global, app and user settings can be injected from the ServerContainer. All values are saved as strings and must be cast to the correct value. .. code-block:: php From cf5bdf256939a98e59a6c5c1c1482508eca31e61 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Sat, 8 Aug 2015 18:44:49 +0545 Subject: [PATCH 3/3] Correct another use of "casted" --- developer_manual/app/controllers.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/developer_manual/app/controllers.rst b/developer_manual/app/controllers.rst index de55a7cc4..a4e5eb875 100644 --- a/developer_manual/app/controllers.rst +++ b/developer_manual/app/controllers.rst @@ -168,7 +168,7 @@ would be passed in as the string *'false'* which is not what one would expect. T } -The following types will be casted: +The following types will be cast: * **bool** or **boolean** * **float**