phpMv
-UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
Color.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ajax\semantic\html\base\constants
;
4
5
use
Ajax\common\BaseEnum
;
6
use
Ajax\semantic\html\base\HtmlSemDoubleElement
;
7
8
abstract
class
Color
extends
BaseEnum
{
9
const
STANDARD
=
""
,
RED
=
"red"
,
ORANGE
=
"orange"
,
YELLOW
=
"yellow"
,
OLIVE
=
"olive"
,
GREEN
=
"green"
,
TEAL
=
"teal"
,
BLUE
=
"blue"
,
VIOLET
=
"violet"
,
PURPLE
=
"purple"
,
PINK
=
"pink"
,
BROWN
=
"brown"
,
GREY
=
"grey"
,
BLACK
=
"black"
;
10
11
public
static
function
setRed
(
HtmlSemDoubleElement
$e) {
12
return
$e->
addToProperty
(
"class"
, self::RED);
13
}
14
15
public
static
function
setGreen
(
HtmlSemDoubleElement
$e) {
16
return
$e->
addToProperty
(
"class"
, self::GREEN);
17
}
18
}
Ajax\common\BaseEnum
Base class for enums see at http://stackoverflow.com/questions/254514/php-and-enumerations.
Definition
BaseEnum.php:11
Ajax\semantic\html\base\HtmlSemDoubleElement
Base class for Semantic double elements.
Definition
HtmlSemDoubleElement.php:23
Ajax\semantic\html\base\constants\Color
Definition
Color.php:8
Ajax\semantic\html\base\constants\Color\PINK
const PINK
Definition
Color.php:9
Ajax\semantic\html\base\constants\Color\BLUE
const BLUE
Definition
Color.php:9
Ajax\semantic\html\base\constants\Color\PURPLE
const PURPLE
Definition
Color.php:9
Ajax\semantic\html\base\constants\Color\BROWN
const BROWN
Definition
Color.php:9
Ajax\semantic\html\base\constants\Color\ORANGE
const ORANGE
Definition
Color.php:9
Ajax\semantic\html\base\constants\Color\RED
const RED
Definition
Color.php:9
Ajax\semantic\html\base\constants\Color\setGreen
static setGreen(HtmlSemDoubleElement $e)
Definition
Color.php:15
Ajax\semantic\html\base\constants\Color\OLIVE
const OLIVE
Definition
Color.php:9
Ajax\semantic\html\base\constants\Color\TEAL
const TEAL
Definition
Color.php:9
Ajax\semantic\html\base\constants\Color\GREEN
const GREEN
Definition
Color.php:9
Ajax\semantic\html\base\constants\Color\YELLOW
const YELLOW
Definition
Color.php:9
Ajax\semantic\html\base\constants\Color\setRed
static setRed(HtmlSemDoubleElement $e)
Definition
Color.php:11
Ajax\semantic\html\base\constants\Color\GREY
const GREY
Definition
Color.php:9
Ajax\semantic\html\base\constants\Color\VIOLET
const VIOLET
Definition
Color.php:9
Ajax\semantic\html\base\constants\Color\BLACK
const BLACK
Definition
Color.php:9
Ajax\semantic\html\base\constants\Color\STANDARD
const STANDARD
Definition
Color.php:9
Ajax\semantic\html\base\traits\BaseTrait\addToProperty
addToProperty($name, $value, $separator=" ")
Ajax\semantic\html\base\constants
Definition
CheckboxType.php:3
Ajax
semantic
html
base
constants
Color.php
Generated on Sun Dec 10 2023 16:16:01 for
phpMv-UI
by
doxygen
1.9.8