Documentation

CFA
in package

[$cfa = $this->core->loadClass('CFA');] Class CFA to handle WebApps for CloudFrameworkInterface notion: xxxx last_update: 20220226

Table of Contents

Properties

$colors  : mixed
$data  : mixed
$labels  : mixed
$version  : mixed
$core  : mixed

Methods

__construct()  : mixed
CFI constructor.
addClass()  : CFA
Add a class attribute to a specifuc row label
addComponentInLabel()  : CFA
Add a class attribute to a specifuc row label
getData()  : mixed
Return the CFA structure $this->data
getJSON()  : mixed
Return the CFA structure $this->data
rowLabels()  : CFA
SET rows in the CFA to structure the greed

Properties

$colors

public mixed $colors = \null

$data

public mixed $data = ['rows' => [['label' => 'default_row']], 'components' => []]

$labels

public mixed $labels = []

$version

public mixed $version = '20240201'

$core

private mixed $core

Methods

__construct()

CFI constructor.

public __construct(Core7 &$core[, string $bucket = '' ]) : mixed
Parameters
$core : Core7
$bucket : string = ''

addClass()

Add a class attribute to a specifuc row label

public addClass(string $row_label, string $class) : CFA
Parameters
$row_label : string
$class : string
Return values
CFA

addComponentInLabel()

Add a class attribute to a specifuc row label

public addComponentInLabel(string $label) : CFA
Parameters
$label : string
Return values
CFA

getData()

Return the CFA structure $this->data

public getData([mixed $only_label = '' ]) : mixed
Parameters
$only_label : mixed = ''

getJSON()

Return the CFA structure $this->data

public getJSON([mixed $only_label = '' ]) : mixed
Parameters
$only_label : mixed = ''

rowLabels()

SET rows in the CFA to structure the greed

public rowLabels(string $row_labels) : CFA
Parameters
$row_labels : string

labels for each row to be used in the CFA

Return values
CFA

        
On this page

Search results