Completed
Branch 0.2.1 (e70612)
by Anton
09:15
created

Variable   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A processEntity() 0 1 1
1
<?php
2
3
namespace Modules\Entitizer\Handler {
4
5
	use Modules\Entitizer;
6
7
	class Variable extends Entitizer\Utils\Handler {
8
9
		use Entitizer\Common\Variable;
10
11
		# Handler configuration
12
13
		protected static $controller = 'Modules\Entitizer\Controller\Variable';
14
15
		protected static $link = '/admin/content/variables';
16
17
		protected static $naming = 'title', $naming_new = 'VARIABLES_ITEM_NEW';
18
19
		protected static $form_class = 'Modules\Entitizer\Form\Variable';
20
21
		protected static $message_success_save = 'VARIABLE_SUCCESS_SAVE';
22
23
		protected static $message_error_remove = 'VARIABLE_ERROR_REMOVE';
24
25
		protected static $view = 'Blocks\Entitizer\Variables\Main';
26
27
		# Add additional data for specific entity
28
29
		protected function processEntity() {}
30
	}
31
}
32