forked from ad3n/SimpleAdminBundle
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathSymfonianIndonesiaAdminConstants.php
73 lines (64 loc) · 2.24 KB
/
SymfonianIndonesiaAdminConstants.php
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?php
/*
* This file is part of the AdminBundle package.
*
* (c) Muhammad Surya Ihsanuddin <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfonian\Indonesia\AdminBundle;
/**
* @author Muhammad Surya Ihsanuddin <[email protected]>
*/
class SymfonianIndonesiaAdminConstants
{
/**
* Configuration.
*/
const CONFIGURATION_ALIAS = 'symfonyid_admin';
/**
* Crud Events.
*/
const PRE_SAVE = 'siab.pre_save';
const POST_SAVE = 'siab.post_save';
const FILTER_LIST = 'siab.filter_query';
const PRE_DELETE = 'siab.pre_delete';
const PRE_SHOW = 'siab.pre_show';
/**
* Crud Actions.
*/
const ACTION_CREATE = 'ACTION_CREATE';
const ACTION_UPDATE = 'ACTION_UPDATE';
const ACTION_DELETE = 'ACTION_DELETE';
const ACTION_READ = 'ACTION_READ';
/**
* Grid Actions.
*/
const GRID_ACTION_SHOW = 'GRID_ACTION_SHOW';
const GRID_ACTION_EDIT = 'GRID_ACTION_EDIT';
const GRID_ACTION_DELETE = 'GRID_ACTION_DELETE';
/**
* Entity Utilities.
*/
const ENTITY_ALIAS = 'e';
const SESSION_SORTED_NAME = 'siab_sorted';
/**
* Templating.
*/
const TEMPLATE_CREATE = 'SymfonianIndonesiaAdminBundle:Crud:new.html.twig';
const TEMPLATE_BULK_CREATE = 'SymfonianIndonesiaAdminBundle:Crud:bulk-new.html.twig';
const TEMPLATE_EDIT = 'SymfonianIndonesiaAdminBundle:Crud:new.html.twig';
const TEMPLATE_SHOW = 'SymfonianIndonesiaAdminBundle:Crud:show.html.twig';
const TEMPLATE_LIST = 'SymfonianIndonesiaAdminBundle:Crud:list.html.twig';
const TEMPLATE_AJAX = 'SymfonianIndonesiaAdminBundle:Crud:list_template.html.twig';
const TEMPLATE_DASHBOARD = 'SymfonianIndonesiaAdminBundle:Index:index.html.twig';
const TEMPLATE_PROFILE = 'SymfonianIndonesiaAdminBundle:Index:profile.html.twig';
const TEMPLATE_CHANGE_PASSWORD = 'SymfonianIndonesiaAdminBundle:Index:change_password.html.twig';
const TEMPLATE_FORM = 'SymfonianIndonesiaAdminBundle:Form:fields.html.twig';
const TEMPLATE_PAGINATION = 'SymfonianIndonesiaAdminBundle:Layout:pagination.html.twig';
/**
* Cache.
*/
const CACHE_DIR = 'siab';
}