original_string: public function getCompetitionDatatable()
      {
          $dataTable = new DataTable();
  
          $row1 = new Row();
          $row1->setColumns(array('name' => 'piwik', 'license' => 'GPL'));
  
          // Rows Metadata is useful to store non stats data for example (logos, urls, etc.)
          // When printed out, they are simply merged with columns
          $row1->setMetadata('logo', 'logo.png');
          $dataTable->addRow($row1);
  
          $dataTable->addRowFromSimpleArray(array('name' => 'google analytics', 'license' => 'commercial'));
  
          return $dataTable;
      }
code: public function getCompetitionDatatable()
      {
          $dataTable = new DataTable();
  
          $row1 = new Row();
          $row1->setColumns(array('name' => 'piwik', 'license' => 'GPL'));
  
          // Rows Metadata is useful to store non stats data for example (logos, urls, etc.)
          // When printed out, they are simply merged with columns
          $row1->setMetadata('logo', 'logo.png');
          $dataTable->addRow($row1);
  
          $dataTable->addRowFromSimpleArray(array('name' => 'google analytics', 'license' => 'commercial'));
  
          return $dataTable;
      }
code_tokens: public function getCompetitionDatatable ( ) { $ dataTable = new DataTable ( ) ; $ row1 = new Row ( ) ; $ row1 -> setColumns ( array ( 'name' => 'piwik' , 'license' => 'GPL' ) ) ; // Rows Metadata is useful to store non stats data for example (logos, urls, etc.) // When printed out, they are simply merged with columns $ row1 -> setMetadata ( 'logo' , 'logo.png' ) ; $ dataTable -> addRow ( $ row1 ) ; $ dataTable -> addRowFromSimpleArray ( array ( 'name' => 'google analytics' , 'license' => 'commercial' ) ) ; return $ dataTable ; }
docstring: Returns a custom data table.
  This data table will be converted to all available formats
  when requested in the API request.
  
  @return DataTable
docstring_tokens: Returns a custom data table . This data table will be converted to all available formats when requested in the API request .