noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 05/46: Documentation


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 05/46: Documentation
Date: Mon, 4 May 2020 13:38:42 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 877ad79c8d8c03c55d40eef2c8b7751a011a05d7
Author: Dany De Bontridder <address@hidden>
AuthorDate: Sun Feb 9 13:13:26 2020 +0100

    Documentation
---
 include/class/dossier.class.php | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/include/class/dossier.class.php b/include/class/dossier.class.php
index 23705b1..3d2cde9 100644
--- a/include/class/dossier.class.php
+++ b/include/class/dossier.class.php
@@ -405,5 +405,16 @@ class Dossier
             }
         }
     }
+    
+    /**
+     * Set the current dossier to $p_dossier
+     * @param numeric $p_dossier
+     */
+    static function set_current($p_dossier) {
+        
+        put_global(["gDossier"=>$p_dossier]);
+        self::check();
+        
+    }
 
 }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]