-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathPlugin.php
More file actions
34 lines (29 loc) · 724 Bytes
/
Copy pathPlugin.php
File metadata and controls
34 lines (29 loc) · 724 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
/**
* @author Bogdan Burim <bgdn2007@ukr.net>
*/
namespace bburim\flot;
class Plugin
{
const CANVAS = 'canvas';
const CATEGORIES = 'categories';
const CROSSHAIR = 'crosshair';
const ERRORBARS = 'errorbars';
const FILLBETWEEN = 'fillbetween';
const IMAGE = 'image';
const NAVIGATE = 'navigate';
const PIE = 'pie';
const RESIZE = 'resize';
const SELECTION = 'selection';
const STACK = 'stack';
const SYMBOL = 'symbol';
const THRESHOLD = 'threshold';
const TIME = 'time';
const TOOLTIP = 'tooltip';
public static function getFilename($code) {
if ($code && is_scalar($code)) {
return "jquery.flot.{$code}.js";
}
return false;
}
}