getName() public méthode

Get the translated name of the dimension. Defaults to an empty string.
public getName ( ) : string
Résultat string
Exemple #1
0
 /**
  * Builts the report metadata for this report. Can be useful in case you want to change the behavior of
  * {@link configureReportMetadata()}.
  * @return array
  * @ignore
  */
 protected function buildReportMetadata()
 {
     $report = array('category' => $this->getCategory(), 'name' => $this->getName(), 'module' => $this->getModule(), 'action' => $this->getAction());
     if (null !== $this->parameters) {
         $report['parameters'] = $this->parameters;
     }
     if (!empty($this->dimension)) {
         $report['dimension'] = $this->dimension->getName();
     }
     if (!empty($this->documentation)) {
         $report['documentation'] = $this->documentation;
     }
     if (true === $this->isSubtableReport) {
         $report['isSubtableReport'] = $this->isSubtableReport;
     }
     $report['metrics'] = $this->getMetrics();
     $report['metricsDocumentation'] = $this->getMetricsDocumentation();
     $report['processedMetrics'] = $this->getProcessedMetrics();
     if (!empty($this->actionToLoadSubTables)) {
         $report['actionToLoadSubTables'] = $this->actionToLoadSubTables;
     }
     if (true === $this->constantRowsCount) {
         $report['constantRowsCount'] = $this->constantRowsCount;
     }
     $report['order'] = $this->order;
     return $report;
 }