[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 15/17: Code documentation
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 15/17: Code documentation |
Date: |
Wed, 12 Aug 2015 13:23:44 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 3d2fd76ccc0cd46f932a835929318363c8d0450f
Author: Dany De Bontridder <address@hidden>
Date: Tue Aug 11 16:13:35 2015 +0200
Code documentation
---
include/class_user.php | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/include/class_user.php b/include/class_user.php
index f183c7f..30a3f5c 100644
--- a/include/class_user.php
+++ b/include/class_user.php
@@ -494,6 +494,12 @@ class User
$Res = $this->db->exec_sql($sql, array($this->id,
$p_id));
}
}
+ /**
+ * Save the preference , the scope is global, the settings are saved
+ * into account_repository
+ * @param $key THEME, LANG , PAGESIZE
+ * @param $value value of the key
+ */
function save_global_preference($key, $value)
{
- [Noalyss-commit] [noalyss] 09/17: Use a variable for an absolute path for performance reason NOALYSS_INCLUDE NOALYSS_HOME NOALYSS_PLUGIN, (continued)
- [Noalyss-commit] [noalyss] 09/17: Use a variable for an absolute path for performance reason NOALYSS_INCLUDE NOALYSS_HOME NOALYSS_PLUGIN, Dany De Bontridder, 2015/08/12
- [Noalyss-commit] [noalyss] 10/17: Use a variable for an absolute path for performance reason NOALYSS_INCLUDE NOALYSS_HOME NOALYSS_PLUGIN, Dany De Bontridder, 2015/08/12
- [Noalyss-commit] [noalyss] 12/17: show cross to remove a tag, Dany De Bontridder, 2015/08/12
- [Noalyss-commit] [noalyss] 13/17: Admin can modify any document + repository, Dany De Bontridder, 2015/08/12
- [Noalyss-commit] [noalyss] 07/17: Move DEBUG and LOGINPUT to config.inc.php, by default error are shown, Dany De Bontridder, 2015/08/12
- [Noalyss-commit] [noalyss] 14/17: Code cleaning : remove code for "Plugin only" users, Dany De Bontridder, 2015/08/12
- [Noalyss-commit] [noalyss] 01/17: Add variable to own, Dany De Bontridder, 2015/08/12
- [Noalyss-commit] [noalyss] 05/17: translation, Dany De Bontridder, 2015/08/12
- [Noalyss-commit] [noalyss] 16/17: highlight, Dany De Bontridder, 2015/08/12
- [Noalyss-commit] [noalyss] 11/17: show cross to remove a tag, Dany De Bontridder, 2015/08/12
- [Noalyss-commit] [noalyss] 15/17: Code documentation,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 17/17: Use a variable for an absolute path for performance reason NOALYSS_INCLUDE NOALYSS_HOME NOALYSS_PLUGIN New logo and cosmetic, Dany De Bontridder, 2015/08/12
- [Noalyss-commit] [noalyss] 08/17: Use a variable for an absolute path for performance reason NOALYSS_INCLUDE NOALYSS_HOME NOALYSS_PLUGIN, Dany De Bontridder, 2015/08/12