Mercurial > hg > extraction-interface
comparison develop/classes/basemodel.php @ 14:ac77748bb813
- Load regex files based on current topic. Only show the regex in this topic.
To do that, it needs to lookup a table called 'topic_regex_relation' which has the relation of topic and regex filename in filesystem.
- Extractapp UI with some layout modification: button, popup window, responsive (by bootstrap now). It was just for quick prototyping.
| author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
|---|---|
| date | Thu, 19 Feb 2015 11:07:27 +0100 |
| parents | cc36a20a68ab |
| children | 04736430d961 |
comparison
equal
deleted
inserted
replaced
| 13:cc36a20a68ab | 14:ac77748bb813 |
|---|---|
| 7 // protected $lg_server_url = "http://141.14.239.226:8080/gazetteer-server/rest/text/"; | 7 // protected $lg_server_url = "http://141.14.239.226:8080/gazetteer-server/rest/text/"; |
| 8 protected $get_text_from_fileId_url = "http://141.14.239.226:8080/gazetteer-server/rest/text/getFileText?fileId="; | 8 protected $get_text_from_fileId_url = "http://141.14.239.226:8080/gazetteer-server/rest/text/getFileText?fileId="; |
| 9 protected $get_text_from_sectionId_url = "http://141.14.239.226:8080/gazetteer-server/rest/text/getSectionText?sectionId="; | 9 protected $get_text_from_sectionId_url = "http://141.14.239.226:8080/gazetteer-server/rest/text/getSectionText?sectionId="; |
| 10 protected $save_to_LGService_url = "http://141.14.239.226:8080/gazetteer-server/rest/text/save"; | 10 protected $save_to_LGService_url = "http://141.14.239.226:8080/gazetteer-server/rest/text/save"; |
| 11 protected $save_new_to_LGService_url = "http://141.14.239.226:8080/gazetteer-server/rest/text/saveNew"; | 11 protected $save_new_to_LGService_url = "http://141.14.239.226:8080/gazetteer-server/rest/text/saveNew"; |
| 12 | |
| 13 | |
| 12 | 14 |
| 13 public function __construct() { | 15 public function __construct() { |
| 14 global $mysql_database, $mysql_server, $mysql_user, $mysql_password, $systemNAME; | 16 global $mysql_database, $mysql_server, $mysql_user, $mysql_password, $systemNAME; |
| 15 $this->systemNAME = $systemNAME; | 17 $this->systemNAME = $systemNAME; |
| 16 | 18 |
