The method loadWhole has been removed from model DB_Model.

The same functionality has given by calling the load method without parameters
This commit is contained in:
paolo
2016-06-24 10:39:52 +02:00
parent 3fdf54c1d1
commit 58a6da42ae
23 changed files with 28 additions and 58 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ class dms extends Dms_model
* @param dms_id
* @param version optional
*/
public function load($dms_id, $version=null)
public function load($dms_id = null, $version=null)
{
$qry = "SELECT tbl_dms.dms_id, * FROM campus.tbl_dms JOIN campus.tbl_dms_version USING(dms_id) WHERE dms_id=".$this->db_add_param($dms_id, FHC_INTEGER);