Ubiquity
2.5.2
php rapid development framework
Loading...
Searching...
No Matches
GitFileStatus.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ubiquity\utils\git
;
4
5
class
GitFileStatus
{
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){
12
case
self::$UNTRACKED
:
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
Ubiquity\utils\git\GitFileStatus
Definition
GitFileStatus.php:5
Ubiquity\utils\git\GitFileStatus\$UNTRACKED
static $UNTRACKED
Definition
GitFileStatus.php:6
Ubiquity\utils\git\GitFileStatus\$NONE
static $NONE
Definition
GitFileStatus.php:9
Ubiquity\utils\git\GitFileStatus\$MODIFIED
static $MODIFIED
Definition
GitFileStatus.php:7
Ubiquity\utils\git\GitFileStatus\$DELETED
static $DELETED
Definition
GitFileStatus.php:8
Ubiquity\utils\git\GitFileStatus\getIcon
static getIcon($status)
Definition
GitFileStatus.php:10
Ubiquity\utils\git
Definition
GitCommit.php:3
C:
Users
myadd
Documents
GitHub
ubiquity-doc-api
vendor
phpmv
ubiquity
src
Ubiquity
utils
git
GitFileStatus.php
Generated on Sun Dec 10 2023 15:04:27 for
Ubiquity
by
doxygen
1.9.8