getOneDocumentByCode($type); $doc['document_content'] = htmlspecialchars_decode($doc['document_content']); ds_json_encode(10000, '', $doc); } }