EditNCFTipo::getPageData()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 5
c 1
b 0
f 1
nc 1
nop 0
dl 0
loc 8
rs 10
1
<?php
2
/**
3
 * Copyright (C) 2019 joenilson.
4
 *
5
 * This library is free software; you can redistribute it and/or
6
 * modify it under the terms of the GNU Lesser General Public
7
 * License as published by the Free Software Foundation; either
8
 * version 3 of the License, or (at your option) any later version.
9
 *
10
 * This library is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13
 * Lesser General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU Lesser General Public
16
 * License along with this library; if not, write to the Free Software
17
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18
 * MA 02110-1301  USA
19
 */
20
21
namespace FacturaScripts\Plugins\fsRepublicaDominicana\Controller;
22
23
use FacturaScripts\Core\Lib\ExtendedController\EditController;
24
25
/**
26
 * Description of EditNCFRango
27
 *
28
 * @author joenilson
29
 */
30
class EditNCFTipo extends EditController
31
{
32
    public function getModelClassName(): string
33
    {
34
        return 'NCFTipo';
35
    }
36
37
    public function getPageData(): array
38
    {
39
        $pagedata = parent::getPageData();
40
        $pagedata['menu'] = 'RepublicaDominicana';
41
        $pagedata['title'] = 'edit-ncf-type';
42
        $pagedata['icon'] = 'fas fa-tasks';
43
44
        return $pagedata;
45
    }
46
}
47