CMS  Version 3.9
ContentInventoryHelper Class Reference

Public Member Functions

 __construct ($showAll)
 
 onStartRow ($item)
 

Public Attributes

 $showAll = false
 
 $map
 

Detailed Description

Definition at line 9 of file content_inventory_helper.inc.

Constructor & Destructor Documentation

◆ __construct()

ContentInventoryHelper::__construct (   $showAll)

Definition at line 14 of file content_inventory_helper.inc.

15  {
16  $this->showAll = $showAll;
17  $this->map = null;
18  }

Member Function Documentation

◆ onStartRow()

ContentInventoryHelper::onStartRow (   $item)

Definition at line 20 of file content_inventory_helper.inc.

21  {
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  }

Member Data Documentation

◆ $map

ContentInventoryHelper::$map

Definition at line 12 of file content_inventory_helper.inc.

◆ $showAll

ContentInventoryHelper::$showAll = false

Definition at line 11 of file content_inventory_helper.inc.


The documentation for this class was generated from the following file: