diff options
Diffstat (limited to 'core/DataTable/Renderer/Php.php')
-rw-r--r-- | core/DataTable/Renderer/Php.php | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/core/DataTable/Renderer/Php.php b/core/DataTable/Renderer/Php.php index 0c5428528f..b0c18c65a5 100644 --- a/core/DataTable/Renderer/Php.php +++ b/core/DataTable/Renderer/Php.php @@ -82,21 +82,21 @@ class Piwik_DataTable_Renderer_Php extends Piwik_DataTable_Renderer return $return; } - + /** * Produces a flat php array from the DataTable, putting "columns" and "metadata" on the same level. - * - * For example, when a originalRender() would be - * array( 'columns' => array( 'col1_name' => value1, 'col2_name' => value2 ), - * 'metadata' => array( 'metadata1_name' => value_metadata) ) - * + * + * For example, when a originalRender() would be + * array( 'columns' => array( 'col1_name' => value1, 'col2_name' => value2 ), + * 'metadata' => array( 'metadata1_name' => value_metadata) ) + * * a flatRender() is - * array( 'col1_name' => value1, - * 'col2_name' => value2, - * 'metadata1_name' => value_metadata ) - * - * @return array Php array representing the 'flat' version of the datatable + * array( 'col1_name' => value1, + * 'col2_name' => value2, + * 'metadata1_name' => value_metadata ) * + * @param null|Piwik_DataTable_Array|Piwik_DataTable_Simple $dataTable + * @return array Php array representing the 'flat' version of the datatable */ public function flatRender( $dataTable = null ) { |