AdminLteHelper   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A powered() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the Cjt Terabyte LLC [yii2-extension].
5
 *
6
 * (c) Cjt Terabyte LLC [yii2-extension] <http://github.com/cjtterabytesoft>.
7
 * For the full copyright and license information, please view the LICENSE.md.
8
 * file that was distributed with this source code.
9
 *
10
 * @link http://www.cjtterabyte.com.
11
 * @author Wilmer Arámbula <[email protected]>.
12
 * @copyright (c) 2015 Cjt Terabyte LLC.
13
 * @Extension: [yii2-adminlte-advanced].
14
 * @Helper [AdminLteHelper].
15
 * @since 1.0
16
 */
17
18
namespace cjtterabytesoft\adminlte\advanced\helpers;
19
20
use yii;
21
use yii\helpers\Html;
22
23
class AdminLteHelper
24
{
25
    /**
26
     * Display Link Yii2 Oficial Page.
27
     */
28
29
    public static function powered()
30
    {
31
        return html::label('Powered by ', $for = null, $options = ['class' => 'hidden-xs']) . html::img(\yii::$app->params['Logo-Yii'], $options = ['class' => 'img-rounded hidden-xs']) . '  ' . Html::a(' Yii Framework', 'http://www.yiiframework.com/', ['class' => 'hidden-xs a', 'target' => '_blank', 'rel' => 'external']);
32
    }
33
}