예제 #1
0
파일: Array.php 프로젝트: Doluci/tomatocart
 /**
  * Returns a newly created Piwik_DataTable_Array.
  * The future elements of this array should be indexed by their dates (we set the index name to 'date').
  *
  * @return Piwik_DataTable_Array
  */
 protected function getNewDataTableArray()
 {
     $table = new Piwik_DataTable_Array();
     $table->setNameKey('date');
     return $table;
 }