Documentation

VersionsObject extends MainObject
in package

Description of VersionsObject

Tags
author

nczirjak

Table of Contents

Properties

$model  : mixed
$repoDb  : mixed
$result  : mixed
$siteLang  : mixed

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

Methods

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
type

getData()

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>

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
string

processData()

private processData(array<string|int, mixed> $data, string $repoid) : array<string|int, mixed>
Parameters
$data : array<string|int, mixed>
$repoid : string
Return values
array<string|int, mixed>

        
On this page

Search results