Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
GitFileStatus.php
Go to the documentation of this file.
1<?php
2
3namespace Ubiquity\utils\git;
4
6 public static $UNTRACKED="untracked";
7 public static $MODIFIED="modified";
8 public static $DELETED="deleted";
9 public static $NONE="";
10 public static function getIcon($status){
11 switch ($status){
13 $icon="blue question";
14 break;
15 case self::$MODIFIED:
16 $icon="green edit";
17 break;
18 case self::$DELETED:
19 $icon="red remove";
20 break;
21 default:
22 $icon="red question";
23 break;
24 }
25 return $icon;
26 }
27}
28