Completed
Branch master (99b5bb)
by WILMER
02:19
created

AdminLteHelper::powered()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
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-basic].
14
 * @Helper App [AdminLteHelper].
15
 * @since 1.0
16
 */
17
18
namespace cjtterabytesoft\adminlte\basic\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 ') . Html::a(' Yii Framework', 'http://www.yiiframework.com/', ['class' => 'a', 'target' => '_blank', 'rel' => 'external']);
32
    }
33
}