phpDocumentor

QuickEditDocuments
in package
implements QuickEditDocumentsInterface

Class QuickEditDocuments

Tags
category

System

subpackage

QuickEdit

Interfaces, Classes and Traits

QuickEditDocumentsInterface
Interface QuickEditDocumentsInterface

Table of Contents

PDF_FILENAME  = 'InventoryChecklist.pdf'
PDF_FONT_SIZE_MAIN  = 8
PDF_HEADER_LOGO  = ''
PDF_HEADER_LOGO_WIDTH  = 0
PDF_HEADER_STRING  = ''
PDF_HEADER_TITLE  = 'INVENTORY_CHECKLIST'
PDF_PAGE_FORMAT  = 'A4'
PDF_PAGE_ORIENTATION  = 'P'
PDF_UNIT  = 'mm'
$categories  : array<string|int, mixed>
$creator  : string
$db  : CI_DB_query_builder
$languageTextManager  : LanguageTextManager
$products  : array<string|int, mixed>
$quickEditOverviewColumns  : QuickEditOverviewColumns
$title  : string
__construct()  : mixed
QuickEditDocuments constructor.
getLink()  : array<string|int, mixed>
Returns the link to the last created inventory list.
getProducts()  : bool
Creates a list of all products needed to create the inventory list. The list is then generated.
getProductsById()  : bool
Creates a list of products that have been passed as parameters.
_createPdfInventoryDocument()  : bool
Creates a PDF file and saves it.
_getColumns()  : array<string|int, mixed>
Returns the required column names and their names.

Constants

Properties

Methods

__construct()

QuickEditDocuments constructor.

public __construct() : mixed
Return values
mixed

Returns the link to the last created inventory list.

public getLink() : array<string|int, mixed>
Return values
array<string|int, mixed>

Returns the link to the last created inventory list.

getProducts()

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

public getProducts() : bool
Return values
bool

Returns true if the create and save was successful - otherwise, false is returned.

getProductsById()

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

public getProductsById(array<string|int, mixed> $products) : bool
Parameters
$products : array<string|int, mixed>

Returns the list of products that have been passed as parameters.

Return values
bool

Returns true if the create and save was successful - otherwise, false is returned.

_createPdfInventoryDocument()

Creates a PDF file and saves it.

protected _createPdfInventoryDocument() : bool
Return values
bool

Returns true if the create and save was successful - otherwise, false is returned.

_getColumns()

Returns the required column names and their names.

protected _getColumns() : array<string|int, mixed>
Return values
array<string|int, mixed>

Returns the required column names and their names.

Search results