class Catalogue implements PrimaryKeyInterface

Class Catalogue

Constants

CATALOGUE_FOLDER

Catalogue folder

CATALOGUE_TMP_FOLDER

Catalogue temp folder

UPLOAD_DIR

Upload directory

Properties

protected bool $allCategoryProductsSelected Checks if all products are selected
protected int $priority Catalogue priority in list of catalogues

Methods

__construct()

Catalogue constructor.

integer
getId()

No description

setId(int $id)

No description

string
getName()

No description

setName(string $name)

No description

mixed
getFirstPage()

No description

setFirstPage(mixed $firstPage)

No description

mixed
getLastPage()

No description

setLastPage(mixed $lastPage)

No description

mixed
getCatalogueUrl()

No description

setCatalogueUrl(mixed $catalogueUrl)

No description

mixed
getCategories()

No description

setCategories(mixed $categories)

No description

addCategory(Category $category)

No description

removeCategory(Category $category)

No description

int
getNumberOfProducts()

No description

setNumberOfProducts(int $numberOfProducts)

No description

mixed
getFirstPageBaseImageUrl()

No description

mixed
getLastPageBaseImageUrl()

No description

removeLastPageImage(Image $imageL)

No description

mixed
getCategoryProducts()

No description

setCategoryProducts(mixed $categoryProducts)

No description

mixed
getActionProducts()

No description

setActionProducts(mixed $actionProducts)

No description

$this
addCategoryProduct(Product $product)

No description

removeCategoryProduct(Product $product)

No description

addActionProduct(Product $product)

No description

removeActionProduct(Product $product)

No description

boolean
setAllCategoryProductsSelected(boolean $allCategoryProductsSelected)

No description

string
getPdfFile()

No description

setPdfFile(mixed $pdfFile)

No description

mixed
getWebPath()

No description

string
getServer()

Get server path

string
getUploadDir()

Get rid of the DIR so it doesn't screw up when displaying uploaded doc/image inklimacold. the view.

null|string
getAbsolutePath()

Get absolute path

string
getUploadRootDir()

Get root upload dir

int
getPriority()

No description

setPriority(int $priority)

No description

Details

at line 231
__construct()

Catalogue constructor.

at line 242
integer getId()

Return Value

integer

at line 252
Catalogue setId(int $id)

Parameters

int $id

Return Value

Catalogue

at line 262
string getName()

Return Value

string

at line 272
Catalogue setName(string $name)

Parameters

string $name

Return Value

Catalogue

at line 282
mixed getFirstPage()

Return Value

mixed

at line 292
Catalogue setFirstPage(mixed $firstPage)

Parameters

mixed $firstPage

Return Value

Catalogue

at line 302
mixed getLastPage()

Return Value

mixed

at line 312
Catalogue setLastPage(mixed $lastPage)

Parameters

mixed $lastPage

Return Value

Catalogue

at line 322
mixed getCatalogueUrl()

Return Value

mixed

at line 332
Catalogue setCatalogueUrl(mixed $catalogueUrl)

Parameters

mixed $catalogueUrl

Return Value

Catalogue

at line 342
mixed getCategories()

Return Value

mixed

at line 352
Catalogue setCategories(mixed $categories)

Parameters

mixed $categories

Return Value

Catalogue

at line 364
Catalogue addCategory(Category $category)

Parameters

Category $category

Return Value

Catalogue

at line 382
Catalogue removeCategory(Category $category)

Parameters

Category $category

Return Value

Catalogue

at line 392
int getNumberOfProducts()

Return Value

int

at line 402
Catalogue setNumberOfProducts(int $numberOfProducts)

Parameters

int $numberOfProducts

Return Value

Catalogue

at line 412
mixed getFirstPageBaseImageUrl()

Return Value

mixed

at line 420
Catalogue setFirstPageBaseImageUrl()

Return Value

Catalogue

at line 430
mixed getLastPageBaseImageUrl()

Return Value

mixed

at line 438
Catalogue setLastPageBaseImageUrl()

Return Value

Catalogue

at line 448
removeLastPageImage(Image $imageL)

Parameters

Image $imageL

at line 457
mixed getCategoryProducts()

Return Value

mixed

at line 467
Catalogue setCategoryProducts(mixed $categoryProducts)

Parameters

mixed $categoryProducts

Return Value

Catalogue

at line 477
mixed getActionProducts()

Return Value

mixed

at line 487
Catalogue setActionProducts(mixed $actionProducts)

Parameters

mixed $actionProducts

Return Value

Catalogue

at line 499
$this addCategoryProduct(Product $product)

Parameters

Product $product

Return Value

$this

at line 517
Catalogue removeCategoryProduct(Product $product)

Parameters

Product $product

Return Value

Catalogue

at line 529
Catalogue addActionProduct(Product $product)

Parameters

Product $product

Return Value

Catalogue

at line 547
Catalogue removeActionProduct(Product $product)

Parameters

Product $product

Return Value

Catalogue

at line 557
boolean isAllCategoryProductsSelected()

Return Value

boolean

at line 567
Catalogue setAllCategoryProductsSelected(boolean $allCategoryProductsSelected)

Parameters

boolean $allCategoryProductsSelected

Return Value

Catalogue

at line 577
string getPdfFile()

Return Value

string

at line 587
Catalogue setPdfFile(mixed $pdfFile)

Parameters

mixed $pdfFile

Return Value

Catalogue

at line 597
mixed getWebPath()

Return Value

mixed

at line 608
string getServer()

Get server path

Return Value

string

at line 632
string getUploadDir()

Get rid of the DIR so it doesn't screw up when displaying uploaded doc/image inklimacold. the view.

Return Value

string

at line 641
null|string getAbsolutePath()

Get absolute path

Return Value

null|string

at line 652
string getUploadRootDir()

Get root upload dir

Return Value

string

at line 662
int getPriority()

Return Value

int

at line 672
Catalogue setPriority(int $priority)

Parameters

int $priority

Return Value

Catalogue