public function getDimensions()
    {
        $dimensions = [];

        if (!empty($this->getDimension())) {
            $dimensionId = str_replace('.', '_', $this->getDimension()->getId());
            $dimensions[$dimensionId] = $this->getDimension()->getName();
        }

        if (!empty($this->getSubtableDimension())) {
            $subDimensionId = str_replace('.', '_', $this->getSubtableDimension()->getId());
            $dimensions[$subDimensionId] = $this->getSubtableDimension()->getName();
        }

        if (!empty($this->getThirdLeveltableDimension())) {
            $subDimensionId = str_replace('.', '_', $this->getThirdLeveltableDimension()->getId());
            $dimensions[$subDimensionId] = $this->getThirdLeveltableDimension()->getName();
        }

        return $dimensions;
    }
public function getDimensions()
    {
        $dimensions = [];

        if (!empty($this->getDimension())) {
            $dimensionId = str_replace('.', '_', $this->getDimension()->getId());
            $dimensions[$dimensionId] = $this->getDimension()->getName();
        }

        if (!empty($this->getSubtableDimension())) {
            $subDimensionId = str_replace('.', '_', $this->getSubtableDimension()->getId());
            $dimensions[$subDimensionId] = $this->getSubtableDimension()->getName();
        }

        if (!empty($this->getThirdLeveltableDimension())) {
            $subDimensionId = str_replace('.', '_', $this->getThirdLeveltableDimension()->getId());
            $dimensions[$subDimensionId] = $this->getThirdLeveltableDimension()->getName();
        }

        return $dimensions;
    }
public function getDimensions ( ) { $ dimensions = [ ] ; if ( ! empty ( $ this -> getDimension ( ) ) ) { $ dimensionId = str_replace ( '.' , '_' , $ this -> getDimension ( ) -> getId ( ) ) ; $ dimensions [ $ dimensionId ] = $ this -> getDimension ( ) -> getName ( ) ; } if ( ! empty ( $ this -> getSubtableDimension ( ) ) ) { $ subDimensionId = str_replace ( '.' , '_' , $ this -> getSubtableDimension ( ) -> getId ( ) ) ; $ dimensions [ $ subDimensionId ] = $ this -> getSubtableDimension ( ) -> getName ( ) ; } if ( ! empty ( $ this -> getThirdLeveltableDimension ( ) ) ) { $ subDimensionId = str_replace ( '.' , '_' , $ this -> getThirdLeveltableDimension ( ) -> getId ( ) ) ; $ dimensions [ $ subDimensionId ] = $ this -> getThirdLeveltableDimension ( ) -> getName ( ) ; } return $ dimensions ; }
Get dimensions used for current report and its subreports

@return array [dimensionId => dimensionName]
@ignore
Get dimensions used for current report and its subreports