FacturaScripts

VisualItemLoadEngine
in package

Description of VisualItemLoadEngine

Table of Contents

Properties

$namespace  : string

Methods

getNamespace()  : string
installXML()  : bool
Loads an xmlview data into a PageOption model.
loadArray()  : void
Reads PageOption data and loads groups, columns, rows and widgets into selected arrays.
setNamespace()  : void
getGroupsColumns()  : void
Load the column structure from the JSON
xmlToArray()  : array<string|int, mixed>
Turns a xml into an array.
xmlToArrayAux()  : string

Properties

Methods

installXML()

Loads an xmlview data into a PageOption model.

public static installXML(string $name, PageOption &$model) : bool
Parameters
$name : string
$model : PageOption
Return values
bool

loadArray()

Reads PageOption data and loads groups, columns, rows and widgets into selected arrays.

public static loadArray(array<string|int, mixed> &$columns, array<string|int, mixed> &$modals, array<string|int, mixed> &$rows, PageOption $model) : void
Parameters
$columns : array<string|int, mixed>
$modals : array<string|int, mixed>
$rows : array<string|int, mixed>
$model : PageOption

setNamespace()

public static setNamespace(string $namespace) : void
Parameters
$namespace : string

getGroupsColumns()

Load the column structure from the JSON

private static getGroupsColumns(array<string|int, mixed> $columns, array<string|int, mixed> &$target) : void
Parameters
$columns : array<string|int, mixed>
$target : array<string|int, mixed>

xmlToArray()

Turns a xml into an array.

private static xmlToArray(SimpleXMLElement $xml) : array<string|int, mixed>
Parameters
$xml : SimpleXMLElement
Return values
array<string|int, mixed>

xmlToArrayAux()

private static xmlToArrayAux(string $tag, SimpleXMLElement $attributes) : string
Parameters
$tag : string
$attributes : SimpleXMLElement
Return values
string

        
On this page

Search results