Mercurial > hg > extraction-interface
diff 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 |
line wrap: on
line diff
--- a/develop/classes/basemodel.php Tue Feb 17 15:25:11 2015 +0100 +++ b/develop/classes/basemodel.php Thu Feb 19 11:07:27 2015 +0100 @@ -10,6 +10,8 @@ protected $save_to_LGService_url = "http://141.14.239.226:8080/gazetteer-server/rest/text/save"; protected $save_new_to_LGService_url = "http://141.14.239.226:8080/gazetteer-server/rest/text/saveNew"; + + public function __construct() { global $mysql_database, $mysql_server, $mysql_user, $mysql_password, $systemNAME; $this->systemNAME = $systemNAME;