[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r4252 - phpcompta/trunk/include
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r4252 - phpcompta/trunk/include |
Date: |
Fri, 28 Oct 2011 23:09:15 +0200 (CEST) |
Author: danydb
Date: 2011-10-28 23:09:14 +0200 (Fri, 28 Oct 2011)
New Revision: 4252
Modified:
phpcompta/trunk/include/class_dossier.php
Log:
Function dossier::connect
Modified: phpcompta/trunk/include/class_dossier.php
===================================================================
--- phpcompta/trunk/include/class_dossier.php 2011-10-28 20:59:25 UTC (rev
4251)
+++ phpcompta/trunk/include/class_dossier.php 2011-10-28 21:09:14 UTC (rev
4252)
@@ -55,9 +55,9 @@
}
/*!
- * \param p_type string : all for all dossiers lim for only the
+ * \param p_type string : all for all dossiers lim for only the
* dossier where we've got rights
- *
+ *
* Show the folder where user have access. Return : nothing
++*/
function show_dossier($p_type,$p_first=0,$p_max=10,$p_Num=0)
@@ -230,4 +230,10 @@
{
return $p_cn->get_value('select val from version');
}
+ static function connect()
+ {
+ $id=Dossier::id();
+ $cn= new Database($id);
+ return $cn;
+ }
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r4252 - phpcompta/trunk/include,
phpcompta-dev <=