A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: core/MY_Controller.php

Line Number: 258

Backtrace:

File: /home/lourenss/www/pingen_www/application/core/MY_Controller.php
Line: 258
Function: _error_handler

File: /home/lourenss/www/pingen_www/application/core/MY_Controller.php
Line: 54
Function: get_browser_language

File: /home/lourenss/www/pingen_www/application/controllers/Api.php
Line: 7
Function: __construct

File: /home/lourenss/www/pingen_www/index.php
Line: 316
Function: require_once

Pingen | Send Letters Online for Private, Business and Software Developers

Field guide

The following fields are available in a document object.

NameTypeExampleNotes
idint3The ID of the document
filenamestringmydocument.pdfFilename of the PDF
datedatetime2012-08-14 14:00:00Date of creation
user_idint35User ID of creator
addressstringTechnoparkstrasse 1\n8005 Zürich\nSwitzerlandRecognized address in defined area
countrystringCHRecognized country in ISO-Format (2 digits)
sizeint196897Size of document in bytes
pagesint4Amount of pages
pagetypecollectionCollection of Pagetype Objects
rightaddressint0If position of address is right, then equals 1
statusint1Current status of document
sentint1Defining if this document has already been sent
fileremovedint0Defining if the original PDF has been removed from storage.
requirement_failureint0States the failure of sending requirements

Example

    {
        "id":5452,
        "filename":"My_other_document.pdf",
        "date":"2012-08-12 18:50:38",
        "user_id": 35,
        "address": "Technoparkstrasse 1\n8005 Zürich\nSwitzerland",
        "country": "CH",
        "size": 196897,
        "pages":1,
        "pagetype":[
            {
                "number":1,
                "type":2,
				"color:0
            }
        ],
        "rightaddress":0,
        "status":1,
        "sent":1,
        "fileremoved":0,
        "requirement_failure":0
    }
    

Status

StatusMeaning of status
1Normal / OK
99Deleted