[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/calendar/constants/ -> CalendarColors.php (source)

   1  <?php
   2  
   3  final class CalendarColors extends CalendarConstants {
   4  
   5    const COLOR_RED = 'red';
   6    const COLOR_ORANGE = 'orange';
   7    const COLOR_YELLOW = 'yellow';
   8    const COLOR_GREEN = 'green';
   9    const COLOR_BLUE = 'blue';
  10    const COLOR_SKY = 'sky';
  11    const COLOR_INDIGO = 'indigo';
  12    const COLOR_VIOLET = 'violet';
  13  
  14    public static function getColors() {
  15      return array(
  16        self::COLOR_SKY,
  17        self::COLOR_GREEN,
  18        self::COLOR_VIOLET,
  19        self::COLOR_ORANGE,
  20        self::COLOR_BLUE,
  21        self::COLOR_INDIGO,
  22        self::COLOR_RED,
  23        self::COLOR_YELLOW,
  24      );
  25    }
  26  
  27  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1