예제 #1
0
 public function result()
 {
     # Get Incoming Data, decode and re-encode.
     # This format may change, so this method will allow us to shim in more config options for storage, later. (YAML?)
     $result = parent::result();
     $data = json_decode($result);
     return json_encode($data);
 }
예제 #2
0
파일: textarea.php 프로젝트: nsteiner/kdoc
 public function result()
 {
     // Convert all line-endings to UNIX format
     return str_replace(array("\r\n", "\r"), "\n", parent::result());
 }