DeviceData
in package
implements
Serializable
Tags
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
$componentTypes
private
mixed
$componentTypes
$delimitersHandler
private
mixed
$delimitersHandler
$includeLanguage
private
mixed
$includeLanguage
$includeLanguageLocale
private
mixed
$includeLanguageLocale
$inputs
private
mixed
$inputs
$jsonBatchDir
private
mixed
$jsonBatchDir
$MAX_CACHE_JSON_FILES
private
static mixed
$MAX_CACHE_JSON_FILES
= 2
$maxComponentTypeId
private
mixed
$maxComponentTypeId
$maxStockChildLevel
private
mixed
$maxStockChildLevel
$metaData
private
mixed
$metaData
$node
private
mixed
$node
$optimizerTempDir
private
mixed
$optimizerTempDir
$propertyDataTypes
private
mixed
$propertyDataTypes
$propertyNames
private
mixed
$propertyNames
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
__serialize()
public
__serialize() : 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
getInputs()
public
getInputs() : mixed
getMaxComponentTypeId()
public
getMaxComponentTypeId() : mixed
getMaxStockChildLevel()
public
getMaxStockChildLevel() : mixed
getMetaData()
public
getMetaData() : mixed
getNode()
public
getNode() : mixed
getPropertyDataTypes()
public
getPropertyDataTypes() : mixed
getPropertyNames()
public
getPropertyNames() : mixed
hasIncludeLanguage()
public
hasIncludeLanguage() : mixed
hasIncludeLanguageLocale()
public
hasIncludeLanguageLocale() : mixed
hasInputs()
public
hasInputs() : 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
serialize()
public
serialize() : mixed
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
cacheRoot()
private
cacheRoot() : mixed
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