Documentation

DeviceData
in package
implements Serializable

Tags
author

DeviceAtlas Limited

copyright

Copyright (c) DeviceAtlas Limited 2023. All Rights Reserved.

Table of Contents

Interfaces

Serializable

Constants

CACHED_JSON_HISTORY_FILE_NAME  = 'da-cache-history'
CACHED_JSON_INFO_FILE_NAME  = 'da-cached-info'

Properties

$componentTypes  : mixed
$delimitersHandler  : mixed
$includeLanguage  : mixed
$includeLanguageLocale  : mixed
$inputs  : mixed
$jsonBatchDir  : mixed
$MAX_CACHE_JSON_FILES  : mixed
$maxComponentTypeId  : mixed
$maxStockChildLevel  : mixed
$metaData  : mixed
$node  : mixed
$optimizerTempDir  : mixed
$propertyDataTypes  : mixed
$propertyNames  : mixed

Methods

__construct()  : mixed
__serialize()  : mixed
__unserialize()  : mixed
getBatchCachePath()  : mixed
getCachedJsonFileKey()  : mixed
getCachedJsonHistoryFilePath()  : mixed
getCachedJsonInfoFilePath()  : mixed
getComponentTypes()  : mixed
getDelimitersHandler()  : mixed
getFileId()  : mixed
Get a unique identifier a json-file e.g. (filetime, filesize), to know when the file is changed
getInputs()  : mixed
getMaxComponentTypeId()  : mixed
getMaxStockChildLevel()  : mixed
getMetaData()  : mixed
getNode()  : mixed
getPropertyDataTypes()  : mixed
getPropertyNames()  : mixed
hasIncludeLanguage()  : mixed
hasIncludeLanguageLocale()  : mixed
hasInputs()  : mixed
optimizeJsonBatchStorage()  : mixed
populateCache()  : mixed
serialize()  : mixed
setOptimizerTempDir()  : mixed
unserialize()  : mixed
containsPropertyName()  : mixed
cacheLeaves()  : mixed
cacheRoot()  : mixed
rmdir()  : mixed
Recursively remove files and dirs.
throwFileWriteException()  : mixed

Constants

CACHED_JSON_HISTORY_FILE_NAME

public mixed CACHED_JSON_HISTORY_FILE_NAME = 'da-cache-history'

CACHED_JSON_INFO_FILE_NAME

public mixed CACHED_JSON_INFO_FILE_NAME = 'da-cached-info'

Properties

$delimitersHandler

private mixed $delimitersHandler

$includeLanguageLocale

private mixed $includeLanguageLocale

$MAX_CACHE_JSON_FILES

private static mixed $MAX_CACHE_JSON_FILES = 2

$maxComponentTypeId

private mixed $maxComponentTypeId

$maxStockChildLevel

private mixed $maxStockChildLevel

$optimizerTempDir

private mixed $optimizerTempDir

$propertyDataTypes

private mixed $propertyDataTypes

Methods

__construct()

public __construct(mixed $metaData, mixed $propertyNames, mixed $propertyDataTypes, mixed $delimitersHandler, mixed &$node, mixed $inputs, mixed $maxComponentTypeId, mixed $maxStockChildLevel, mixed $componentTypes) : mixed
Parameters
$metaData : mixed
$propertyNames : mixed
$propertyDataTypes : mixed
$delimitersHandler : mixed
$node : mixed
$inputs : mixed
$maxComponentTypeId : mixed
$maxStockChildLevel : mixed
$componentTypes : mixed

__unserialize()

public __unserialize(mixed $data) : mixed
Parameters
$data : mixed

getBatchCachePath()

public getBatchCachePath(mixed $batchId) : mixed
Parameters
$batchId : mixed

getCachedJsonFileKey()

public static getCachedJsonFileKey(mixed $optimizerTempDir) : mixed
Parameters
$optimizerTempDir : mixed

getCachedJsonHistoryFilePath()

public static getCachedJsonHistoryFilePath(mixed $optimizerTempDir) : mixed
Parameters
$optimizerTempDir : mixed

getCachedJsonInfoFilePath()

public static getCachedJsonInfoFilePath(mixed $optimizerTempDir) : mixed
Parameters
$optimizerTempDir : mixed

getComponentTypes()

public getComponentTypes() : mixed

getDelimitersHandler()

public getDelimitersHandler() : mixed

getFileId()

Get a unique identifier a json-file e.g. (filetime, filesize), to know when the file is changed

public static getFileId(mixed $filePath) : mixed
Parameters
$filePath : mixed

getMaxComponentTypeId()

public getMaxComponentTypeId() : mixed

getMaxStockChildLevel()

public getMaxStockChildLevel() : mixed

getPropertyDataTypes()

public getPropertyDataTypes() : mixed

getPropertyNames()

public getPropertyNames() : mixed

hasIncludeLanguage()

public hasIncludeLanguage() : mixed

hasIncludeLanguageLocale()

public hasIncludeLanguageLocale() : mixed

optimizeJsonBatchStorage()

public optimizeJsonBatchStorage(mixed $jsonDataFilePath, mixed $cacheRootJsonFilePath) : mixed
Parameters
$jsonDataFilePath : mixed
$cacheRootJsonFilePath : mixed

populateCache()

public populateCache([mixed $force = false ]) : mixed
Parameters
$force : mixed = false

setOptimizerTempDir()

public setOptimizerTempDir(mixed $optimizerTempDir) : mixed
Parameters
$optimizerTempDir : mixed

unserialize()

public unserialize(mixed $data) : mixed
Parameters
$data : mixed

containsPropertyName()

protected containsPropertyName(mixed $propertyName) : mixed
Parameters
$propertyName : mixed

cacheLeaves()

private cacheLeaves(mixed &$tree[, mixed $depth = 0 ][, mixed $prevChildren = 0 ]) : mixed
Parameters
$tree : mixed
$depth : mixed = 0
$prevChildren : mixed = 0

rmdir()

Recursively remove files and dirs.

private static rmdir(mixed $dir) : mixed
Parameters
$dir : mixed

throwFileWriteException()

private static throwFileWriteException(mixed $path) : mixed
Parameters
$path : mixed

        
On this page

Search results