FullName   A
last analyzed

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);
0 ignored issues
show
Deprecated Code introduced by
The function t() has been deprecated with message: Should be used as $this->system->getContainer()->geti18n()->translate()|plural()

This function has been deprecated. The supplier of the file has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the function will be removed from the class and what other function to use instead.

Loading history...
27
    }
28
}
29