Mygento_Payture_Block_Version   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A render() 0 6 1
1
<?php
2
3
/**
4
 *
5
 *
6
 * @category Mygento
7
 * @package Mygento_Payture
8
 * @copyright Copyright © 2015 NKS LLC. (http://www.mygento.ru)
9
 */
10
class Mygento_Payture_Block_Version extends Mage_Adminhtml_Block_Abstract implements Varien_Data_Form_Element_Renderer_Interface
11
{
12
13
    /**
14
     *
15
     * @param Varien_Data_Form_Element_Abstract $element
16
     * @return string
17
     *
18
     * @SuppressWarnings("unused")
19
     */
20
    public function render(Varien_Data_Form_Element_Abstract $element)
21
    {
22
        $info = '<fieldset class="config success-msg" style="padding-left:30px;"><a target="_blank" href="http://www.mygento.ru/"><img src="//www.mygento.ru/media/favicon/default/favicon.png" width="16" height="16" />' . $this->__('Magento Development') . '</a>';
23
        $info.='<a style="float:right" target="_blank" href="https://github.com/mygento/payture">' . $this->__('Module on Github') . '</a></fieldset>';
24
        return $info;
25
    }
26
}
27