Variable   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
dl 0
loc 28
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A processEntity() 0 1 1
1
<?php
2
3
/**
4
 * @package Cadmium\System\Modules\Entitizer
5
 * @author Anton Romanov
6
 * @copyright Copyright (c) 2015-2017, Anton Romanov
7
 * @link http://cadmium-cms.com
8
 */
9
10
namespace Modules\Entitizer\Handler\Edit {
11
12
	use Modules\Entitizer;
13
14
	class Variable extends Entitizer\Utils\Handler {
15
16
		use Entitizer\Common\Variable;
17
18
		protected $_title = 'TITLE_CONTENT_VARIABLES_EDIT';
19
20
		# Handler configuration
21
22
		protected static $naming = 'title', $naming_new = 'VARIABLES_ITEM_NEW';
23
24
		protected static $view = 'Blocks/Entitizer/Variables/Main';
25
26
		protected static $form_class = 'Modules\Entitizer\Form\Variable';
27
28
		protected static $controller_class = 'Modules\Entitizer\Controller\Variable';
29
30
		protected static $message_success_save = 'VARIABLE_SUCCESS_SAVE';
31
32
		protected static $message_error_remove = 'VARIABLE_ERROR_REMOVE';
33
34
		protected static $link = '/admin/content/variables';
35
36
		/**
37
		 * Add additional data for a specific entity
38
		 */
39
40
		protected function processEntity() {}
41
	}
42
}
43