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
4
7
8abstract 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}
Base class for enums see at http://stackoverflow.com/questions/254514/php-and-enumerations.
Definition BaseEnum.php:11
Base class for Semantic double elements.
static setGreen(HtmlSemDoubleElement $e)
Definition Color.php:15
static setRed(HtmlSemDoubleElement $e)
Definition Color.php:11
addToProperty($name, $value, $separator=" ")