CountryPrice_DistributorManagementTool_Log   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A canDelete() 0 4 1
A canEdit() 0 4 1
1
<?php
2
class CountryPrice_DistributorManagementTool_Log extends DataObject
3
{
4
    private static $db = array(
0 ignored issues
show
Comprehensibility introduced by
Consider using a different property name as you override a private property of the parent class.
Loading history...
5
        "UserEmail" => "Varchar",
6
        "ObjectClass"  => "Varchar",
7
        "ObjectID"  => "Int",
8
        "FieldName"  => "Varchar",
9
        "NewValue"  => "Varchar"
10
    );
11
12
    private static $has_one = array(
0 ignored issues
show
Comprehensibility introduced by
Consider using a different property name as you override a private property of the parent class.
Loading history...
13
        "Distributor" => "Distributor"
14
    );
15
16
    public function canDelete($member = null)
17
    {
18
        return false;
19
    }
20
21
    public function canEdit($member = null)
22
    {
23
        return false;
24
    }
25
}
26