FRED™
3.0
FRED™: Framework for Rapid and Easy Development
Color.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Rsi\Fred\Controller\Widget
;
4
5
class
Color
extends
Char
{
6
7
public
$regex
=
'/^#[\\da-fA-F]{6}$/'
;
8
public
$max
= 7;
9
10
public
function
format
($value){
11
return \Rsi\Color::toHex($value);
12
}
13
14
}
Rsi\Fred\Controller\Widget
Definition:
Char.php:3
Rsi\Fred\Controller\Widget\Color\$regex
$regex
Definition:
Color.php:7
Rsi\Fred\Controller\Widget\Color\format
format($value)
Definition:
Color.php:10
Rsi\Fred\Controller\Widget\Char
Definition:
Char.php:5
Rsi\Fred\Controller\Widget\Color
Definition:
Color.php:5
Rsi\Fred\Controller\Widget\Color\$max
$max
Definition:
Color.php:8
src
Rsi
Fred
Controller
Widget
Color.php
Generated on Sun Aug 2 2020 19:43:57 for FRED™ by
1.8.13