VersionsObject
extends MainObject
in package
Description of VersionsObject
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- convertToTreeById() : type
- This func is generating a child based array from a single array by ID
- getData() : array<string|int, mixed>
- init() : array<string|int, mixed>
- createModel() : void
- createTreeData() : array<string|int, mixed>
- getDateFromDateTime() : string
- processData() : array<string|int, mixed>
Properties
$model
protected
mixed
$model
$repoDb
protected
mixed
$repoDb
$result
protected
mixed
$result
= array()
$siteLang
protected
mixed
$siteLang
= "en"
Methods
__construct()
public
__construct() : mixed
convertToTreeById()
This func is generating a child based array from a single array by ID
public
convertToTreeById(type &$list, type $parent) : type
Parameters
- $list : type
- $parent : type
Return values
typegetData()
public
getData() : array<string|int, mixed>
Return values
array<string|int, mixed>init()
public
init(string $repoid, string $lang) : array<string|int, mixed>
Parameters
- $repoid : string
- $lang : string
Return values
array<string|int, mixed>createModel()
protected
createModel() : void
createTreeData()
private
createTreeData(array<string|int, mixed> $data) : array<string|int, mixed>
Parameters
- $data : array<string|int, mixed>
Return values
array<string|int, mixed>getDateFromDateTime()
private
getDateFromDateTime(string $date) : string
Parameters
- $date : string
Return values
stringprocessData()
private
processData(array<string|int, mixed> $data, string $repoid) : array<string|int, mixed>
Parameters
- $data : array<string|int, mixed>
- $repoid : string