Class QuickEditDocuments

Class QuickEditDocuments

QuickEditDocuments implements QuickEditDocumentsInterface

Methods summary

public __construct( void )

QuickEditDocuments constructor.

public getProductsById( array $products ) : boolean

Creates a list of products that have been passed as parameters.

public getProducts( void ) : boolean

Creates a list of all products needed to create the inventory list. The list is then generated.

protected _createPdfInventoryDocument( void ) : boolean

Creates a PDF file and saves it.

protected _getColumns( void ) : array

Returns the required column names and their names.

Constants summary

PDF_PAGE_ORIENTATION : string
'P'
PDF_UNIT : string
'mm'
PDF_PAGE_FORMAT : string
'A4'
PDF_HEADER_LOGO_WIDTH : integer
0
PDF_HEADER_TITLE : string
'INVENTORY_CHECKLIST'
PDF_HEADER_STRING : string
''
PDF_FONT_SIZE_MAIN : integer
8
PDF_FILENAME : string
'InventoryChecklist.pdf'

Properties summary

protected $db : CI_DB_query_builder

		
protected $title : string
'INVENTORY_CHECKLIST'
protected $creator : string
'fpdf.org/gambio.de'
protected $products : array
[]
protected $categories : array
[]
protected $languageTextManager : LanguageTextManager