Documentation

Shop_Item_Controller_Pricetag extends Core_Servant_Properties
in package

Shop_Item_Controller_Pricetag.

Tags
subpackage

Shop

version
7.x
author

Hostmake LLC

copyright

© 2005-2024 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru

Table of Contents

Properties

$_aDrawingCollection  : array<string|int, mixed>
Drawing collection array
$_aDrawingCollectionFiles  : array<string|int, mixed>
Drawing collection files array
$_allowedProperties  : array<string|int, mixed>
Allowed object properties
$_aMergedCells  : array<string|int, mixed>
Merged cells array
$_newSheet  : object
New worksheet object
$_oCore_Meta  : object
Core_Meta model
$_oPrintlayout  : object
Printlayout model
$_propertiesValues  : array<string|int, mixed>
Properties values
$_sheet  : object
Old worksheet object
$_spreadsheet  : object
Spreadsheet object
$_unlimitedProperties  : bool
Object has unlimited number of properties

Methods

__construct()  : mixed
Constructor.
addAllowedProperties()  : self
Add additional allowed properties
addAllowedProperty()  : self
Add additional allowed property
cloneRange()  : self
Clone range
execute()  : mixed
Execute business logic.
printImage()  : mixed
Print image
set()  : self
Run when writing data to inaccessible properties
setUnlimitedProperties()  : self
Set unlimitedProperties
_getBarcodeType()  : int
Get barcode type

Properties

$_aDrawingCollection

Drawing collection array

protected array<string|int, mixed> $_aDrawingCollection = array()

$_aDrawingCollectionFiles

Drawing collection files array

protected array<string|int, mixed> $_aDrawingCollectionFiles = array()

$_allowedProperties

Allowed object properties

protected array<string|int, mixed> $_allowedProperties = array('fullname', 'date', 'horizontal', 'vertical')

$_aMergedCells

Merged cells array

protected array<string|int, mixed> $_aMergedCells = array()

$_newSheet

New worksheet object

protected object $_newSheet = \NULL

$_oCore_Meta

Core_Meta model

protected object $_oCore_Meta = \NULL

$_oPrintlayout

Printlayout model

protected object $_oPrintlayout = \NULL

$_propertiesValues

Properties values

protected array<string|int, mixed> $_propertiesValues = array()

$_sheet

Old worksheet object

protected object $_sheet = \NULL

$_spreadsheet

Spreadsheet object

protected object $_spreadsheet = \NULL

$_unlimitedProperties

Object has unlimited number of properties

protected bool $_unlimitedProperties = \FALSE

Methods

addAllowedProperties()

Add additional allowed properties

public addAllowedProperties(array<string|int, mixed> $array) : self
Parameters
$array : array<string|int, mixed>

array of properties' names

Return values
self

addAllowedProperty()

Add additional allowed property

public addAllowedProperty(string $property) : self
Parameters
$property : string

property name

Return values
self

cloneRange()

Clone range

public cloneRange(string $sourceDimension, string $destinationPoint, Shop_Item_Model $oShop_Item) : self
Parameters
$sourceDimension : string

source dimension

$destinationPoint : string

destination point

$oShop_Item : Shop_Item_Model

shop item object

Tags
hostcms-event

Shop_Item_Controller_Pricetag.onAfterDrawing

Return values
self

execute()

Execute business logic.

public execute(array<string|int, mixed> $aShop_Items) : mixed
Parameters
$aShop_Items : array<string|int, mixed>

shop item objects array

printImage()

Print image

public static printImage(string $value) : mixed
Parameters
$value : string

set()

Run when writing data to inaccessible properties

public set(string $property, string $value) : self
Parameters
$property : string

property name

$value : string

property value

Return values
self

setUnlimitedProperties()

Set unlimitedProperties

public setUnlimitedProperties([bool $value = TRUE ]) : self
Parameters
$value : bool = TRUE

default TRUR

Return values
self

_getBarcodeType()

Get barcode type

protected _getBarcodeType(Shop_Item_Barcode_Model $oShop_Item_Barcode,  $generatorPNG) : int
Parameters
$oShop_Item_Barcode : Shop_Item_Barcode_Model

shop item barcode object

$generatorPNG :

Picqer\Barcode\BarcodeGeneratorPNG object

Return values
int

        
On this page

Search results