CMS
Version 3.9
content_inventory_helper.inc
Go to the documentation of this file.
1
<?php
7
Fakoli::using
(
"developer_tools"
,
"section"
);
8
9
class
ContentInventoryHelper
10
{
11
var
$showAll
=
false
;
12
var
$map
;
13
14
function
__construct
(
$showAll
)
15
{
16
$this->showAll =
$showAll
;
17
$this->map =
null
;
18
}
19
20
function
onStartRow
($item)
21
{
22
$map
=
DeveloperToolsManager::formatSections
($item);
23
24
if
(!$this->showAll)
25
{
26
return
(
$map
!=
"<em>Not mapped</em>"
);
27
}
28
29
return
(
$map
!=
"<em>Not mapped</em>"
) ?
"mapped"
:
"unmapped"
;
30
}
31
}?>
ContentInventoryHelper
Definition:
content_inventory_helper.inc:10
ContentInventoryHelper\$showAll
$showAll
Definition:
content_inventory_helper.inc:11
ContentInventoryHelper\onStartRow
onStartRow($item)
Definition:
content_inventory_helper.inc:20
ContentInventoryHelper\__construct
__construct($showAll)
Definition:
content_inventory_helper.inc:14
ContentInventoryHelper\$map
$map
Definition:
content_inventory_helper.inc:12
DeveloperToolsManager\formatSections
static formatSections($item)
Definition:
developer_tools_manager.inc:36
Fakoli\using
static using()
Import the datamodels, views and manifest for the specified component(s).
Definition:
core.inc:116
code
cms.sonjara.com
cms
components
developer_tools
content_inventory_helper.inc
Generated on Tue Mar 23 2021 15:36:12 for CMS by
1.9.1