getOrder() public method

public getOrder ( )
Example #1
0
 /**
  * @param Category|null $category
  * @return array
  */
 private function buildCategoryMetadata($category)
 {
     if (!isset($category)) {
         return null;
     }
     return array('id' => (string) $category->getId(), 'name' => Piwik::translate($category->getId()), 'order' => $category->getOrder(), 'icon' => $category->getIcon());
 }