getSubtableDimension() 공개 메소드

Returns the Dimension instance of this report's subtable report.
public getSubtableDimension ( ) : Dimension | null
리턴 Piwik\Columns\Dimension | null The subtable report's dimension or null if there is subtable report or no dimension for the subtable report.
예제 #1
0
 /**
  * Returns true if pivoting by subtable is supported for a report. Will return true if the report
  * has a subtable dimension and if the subtable dimension is different than the report's dimension.
  *
  * @param Report $report
  * @return bool
  */
 public static function isPivotingReportBySubtableSupported(Report $report)
 {
     return self::areDimensionsNotEqualAndNotNull($report->getSubtableDimension(), $report->getDimension());
 }