You are here

constant DEFAULT_SERVLET_URL in FillPDF 6

Same name and namespace in other branches
  1. 7.2 fillpdf.module \DEFAULT_SERVLET_URL

@file Allows mappings of PDFs to site content

2 uses of DEFAULT_SERVLET_URL
fillpdf_merge_pdf in ./fillpdf.module
Constructs a page from scratch (pdf content-type) and sends it to the browser or saves it, depending on if a custom path is configured or not.
fillpdf_parse_pdf in ./fillpdf.module
This function generates the form fields from the specified PDF. It (1) sends a request to the iText servlet to parse the specified PDF, (2) iText returns an XML response with fields-mappings, this module parses the XML response & contsructs the…

File

./fillpdf.module, line 8
Allows mappings of PDFs to site content

Code

define("DEFAULT_SERVLET_URL", variable_get('fillpdf_remote_protocol', 'http') . "://" . variable_get('fillpdf_remote_endpoint', "fillpdf-service.com/xmlrpc.php"));