Completed
Pull Request — master (#24)
by Pavlo
02:25
created

FullName   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: egorov
5
 * Date: 21.04.2015
6
 * Time: 14:52
7
 */
8
namespace samsoncms\app\user\field;
9
10
use samsonframework\core\RenderInterface;
11
use samsonframework\orm\QueryInterface;
12
use samsoncms\field\Generic;
13
14
/**
15
 * Overridden full name field
16
 * @package samsoncms\app\user
17
 */
18
class FullName extends Generic
19
{
20
    /** @var string Path to field view file */
21
    protected $innerView = 'www/collection/field/fullname';
22
23
    /**  Overload parent constructor and pass needed params there */
24
    public function __construct()
25
    {
26
        parent::__construct('fio', t('ФИО', true), 0, 'fio', false);
27
    }
28
}
29