comparison develop/models/extractapp.php @ 46:b3ca5d2b4d3f extractapp

bug fix: edit and save regex. But a jquery issue in Chrome
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Mon, 16 Mar 2015 15:49:39 +0100
parents 3d6b8fb7335d
children
comparison
equal deleted inserted replaced
45:3d6b8fb7335d 46:b3ca5d2b4d3f
7 public function Index() { 7 public function Index() {
8 return array("Index Value 1", "Value 2", "Value 3"); 8 return array("Index Value 1", "Value 2", "Value 3");
9 } 9 }
10 10
11 protected $section_id = 0, $data_path, $file_id = 0, $current_fileId=0, 11 protected $section_id = 0, $data_path, $file_id = 0, $current_fileId=0,
12 $branch_id = 0, $user_id = 0, $lg_text = "", $topic = 0, $taglist_infile = "", $book_meta = ""; 12 $branch_id = 0, $user_id = 0, $lg_text = "", $topic, $taglist_infile = "", $book_meta = "";
13 public $messages = ""; 13 public $messages = "";
14 14
15 private function Initialize($_urlvalues) { 15 private function Initialize($_urlvalues) {
16 $this->SetSectionId($_urlvalues); 16 $this->SetSectionId($_urlvalues);
17 17
409 $require = "<text_content>\n".$require."</text_content>\n"; 409 $require = "<text_content>\n".$require."</text_content>\n";
410 } 410 }
411 $require = $this->AppendMetaData($require); 411 $require = $this->AppendMetaData($require);
412 412
413 //saving in my local machine in developing phrase 413 //saving in my local machine in developing phrase
414 //file_put_contents("data/parsing_files/".$_postdata['sectionId'].".txt", $require); 414 file_put_contents("data/parsing_files/".$_postdata['sectionId'].".txt", $require);
415 } 415 }
416 416
417 // ------ 417 // ------
418 418
419 419
457 'Content-type: multipart/form-data;charset=utf-8' 457 'Content-type: multipart/form-data;charset=utf-8'
458 )); 458 ));
459 459
460 // execute the request 460 // execute the request
461 // **** commended to DEBUG *** 461 // **** commended to DEBUG ***
462 $output = curl_exec($ch); 462 //$output = curl_exec($ch);
463 // ***** 463 // *****
464 464
465 // output the profile information - includes the header 465 // output the profile information - includes the header
466 //echo($output) . PHP_EOL; 466 //echo($output) . PHP_EOL;
467 467