diff classes/basemodel.php @ 77:97c1e5102a22 extractapp

New: export table for a file from LGService
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Thu, 16 Apr 2015 14:53:22 +0200
parents 3ada9334ebfc
children 960ba96efce1
line wrap: on
line diff
--- a/classes/basemodel.php	Mon Apr 13 15:43:59 2015 +0200
+++ b/classes/basemodel.php	Thu Apr 16 14:53:22 2015 +0200
@@ -1,14 +1,11 @@
 <?php
+/**
+* BaseModel is for the general methods/functions.
+* For example, setting related to outside services, connecting to database, get information from database, etc.
+*/
 
 abstract class BaseModel {
-	
-    /*
-    protected $get_text_from_fileId_url = "http://localgazetteers-dev/LGServer/rest/text/getFileText?fileId=";
-    protected $get_text_from_sectionId_url = "http://localgazetteers-dev/LGServer/rest/text/getSectionText?sectionId=";
-    protected $save_to_LGService_url = "http://localgazetteers-dev/LGServer/rest/text/save";
-    protected $save_new_to_LGService_url = "http://localgazetteers-dev/LGServer/rest/text/saveNew";
-
-    */
+    
     protected $get_text_from_fileId_url, $get_text_from_sectionId_url, $save_to_LGService_url, $save_new_to_LGService_url;
 
 	public function __construct() {