AdminLteHelper::powered()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
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
}