Properties

$column_mask

$column_mask : 

Type

$entities

$entities : 

Type

$available_fields

$available_fields : 

Type

$required_fields

$required_fields : 

Type

$cache_image_deleted

$cache_image_deleted : 

Type

$default_values

$default_values : 

Type

$validators

$validators : 

Type

$separator

$separator : 

Type

$multiple_value_separator

$multiple_value_separator : 

Type

Methods

__construct()

__construct() 

setMedia()

setMedia() 

renderForm()

renderForm() 

ajaxProcessuploadCsv()

ajaxProcessuploadCsv() 

renderView()

renderView() 

initToolbar()

initToolbar() 

init()

init() 

initContent()

initContent() 

getAvailableFields()

getAvailableFields(  $in_array = false) 

Parameters

$in_array

getMaskedRow()

getMaskedRow(  $row) 

Parameters

$row

arrayWalk()

arrayWalk(  $array,   $funcname, mixed  $user_data = false) : boolean

Parameters

$array
$funcname
mixed $user_data

Returns

boolean

categoryImport()

categoryImport() 

productImport()

productImport() 

productImportCreateCat()

productImportCreateCat(  $default_language_id,   $category_name,   $id_parent_category = null) 

Parameters

$default_language_id
$category_name
$id_parent_category

attributeImport()

attributeImport() 

customerImport()

customerImport() 

addressImport()

addressImport() 

manufacturerImport()

manufacturerImport() 

supplierImport()

supplierImport() 

aliasImport()

aliasImport() 

supplyOrdersImport()

supplyOrdersImport() 

supplyOrdersDetailsImport()

supplyOrdersDetailsImport() 

utf8EncodeArray()

utf8EncodeArray(  $array) 

Parameters

$array

clearSmartyCache()

clearSmartyCache() 

postProcess()

postProcess() 

setLocale()

setLocale() 

ajaxProcessSaveImportMatchs()

ajaxProcessSaveImportMatchs() 

ajaxProcessLoadImportMatchs()

ajaxProcessLoadImportMatchs() 

ajaxProcessDeleteImportMatchs()

ajaxProcessDeleteImportMatchs() 

getPath()

getPath(  $file = '') 

Parameters

$file

generateContentTable()

generateContentTable(  $current_table,   $nb_column,   $handle,   $glue) 

Parameters

$current_table
$nb_column
$handle
$glue

rewindBomAware()

rewindBomAware(  $handle) 

Parameters

$handle

getBoolean()

getBoolean(  $field) 

Parameters

$field

getPrice()

getPrice(  $field) 

Parameters

$field

split()

split(  $field) 

Parameters

$field

createMultiLangField()

createMultiLangField(  $field) 

Parameters

$field

getTypeValuesOptions()

getTypeValuesOptions(  $nb_c) 

Parameters

$nb_c

receiveTab()

receiveTab() 

setDefaultValues()

setDefaultValues(  $info) 

Parameters

$info

setEntityDefaultValues()

setEntityDefaultValues(  $entity) 

Parameters

$entity

fillInfo()

fillInfo(  $infos,   $key,   $entity) 

Parameters

$infos
$key
$entity

copyImg()

copyImg(integer  $id_entity, integer  $id_image = null, string  $url,   $entity = 'products',   $regenerate = true) : boolean

copyImg copy an image located in $url and save it in a path according to $entity->$id_entity .

$id_image is used if we need to add a watermark

Parameters

integer $id_entity

id of product or category (set in entity)

integer $id_image

(default null) id of the image if watermark enabled.

string $url

path or url to use

$entity
$regenerate

Returns

boolean

getNbrColumn()

getNbrColumn(  $handle,   $glue) 

Parameters

$handle
$glue

usortFiles()

usortFiles(  $a,   $b) 

Parameters

$a
$b

openCsvFile()

openCsvFile() 

closeCsvFile()

closeCsvFile(  $handle) 

Parameters

$handle

truncateTables()

truncateTables(  $case) 

Parameters

$case

addProductWarning()

addProductWarning(  $product_name,   $product_id = null,   $message = '') 

Parameters

$product_name
$product_id
$message