Piwik\DataTable\Row::getIdSubDataTable PHP Method

getIdSubDataTable() public method

If there is no such a table, returns null.
public getIdSubDataTable ( ) : integer | null
return integer | null
    public function getIdSubDataTable()
    {
        return $this->subtableId;
    }

Usage Example

Beispiel #1
0
 /**
  * Filters a row's subtable, if one exists and is loaded in memory.
  *
  * @param Row $row The row whose subtable should be filter.
  */
 public function filterSubTable(Row $row)
 {
     if (!$this->enableRecursive) {
         return;
     }
     if ($row->isSubtableLoaded()) {
         $subTable = Manager::getInstance()->getTable($row->getIdSubDataTable());
         $this->filter($subTable);
     }
 }
All Usage Examples Of Piwik\DataTable\Row::getIdSubDataTable