summaryrefslogtreecommitdiff
path: root/app/php/model
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-05-10 00:26:03 +0200
committeremkael <emkael@tlen.pl>2016-05-10 00:26:03 +0200
commit33a9cefdcfbf5177b0a72ef42da4a98fca8761fe (patch)
treedd4e67b77940549e4de6b26756e60b5e1895b7fd /app/php/model
parent049abe600fc82728fa0a83ae28aeb7fb04063160 (diff)
* sort priority for calendar groups
Diffstat (limited to 'app/php/model')
-rw-r--r--app/php/model/Category.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/php/model/Category.php b/app/php/model/Category.php
index 5e71e53..87b97b6 100644
--- a/app/php/model/Category.php
+++ b/app/php/model/Category.php
@@ -9,10 +9,12 @@ class Category extends ActiveRecord {
public $ID;
public $Name;
+ public $Priority;
public static $COLUMN_MAPPING = [
'id' => 'ID',
- 'name' => 'Name'
+ 'name' => 'Name',
+ 'priority' => 'Priority'
];
public static $RELATIONS = [