-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#] Clean-up: PSR2 rules, comments...
- Loading branch information
1 parent
38ba141
commit 0b8095e
Showing
133 changed files
with
5,548 additions
and
3,755 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,41 @@ | ||
<?php | ||
/** | ||
* Paybox Epayment module for Magento | ||
* | ||
* This source file is subject to the Open Software License (OSL 3.0) | ||
* available at : http://opensource.org/licenses/osl-3.0.php | ||
* | ||
* @package Paybox_Epayment | ||
* @copyright Copyright (c) 2013-2014 Paybox | ||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
*/ | ||
|
||
namespace Paybox\Epayment\Block\Admin\Field; | ||
|
||
class Info extends \Magento\Config\Block\System\Config\Form\Field | ||
{ | ||
/** | ||
* Render element html | ||
* | ||
* @param Magento\Framework\Data\Form\Element\AbstractElement $element | ||
* @return string | ||
*/ | ||
public function render(\Magento\Framework\Data\Form\Element\AbstractElement $element) { | ||
$html = '<tr id="row_'.$element->getHtmlId(). | ||
'"><td class="label" colspan="5" style="text-align: left;"><span id="'.$element->getHtmlId().'">'; | ||
$html .= $element->getLabel(); | ||
$html .= '</span></td></tr>'; | ||
return $html; | ||
} | ||
} | ||
<?php | ||
/** | ||
* Paybox Epayment module for Magento | ||
* | ||
* Feel free to contact Paybox by Verifone at support@paybox.com for any | ||
* question. | ||
* | ||
* LICENSE: This source file is subject to the version 3.0 of the Open | ||
* Software License (OSL-3.0) that is available through the world-wide-web | ||
* at the following URI: http://opensource.org/licenses/OSL-3.0. If | ||
* you did not receive a copy of the OSL-3.0 license and are unable | ||
* to obtain it through the web, please send a note to | ||
* support@paybox.com so we can mail you a copy immediately. | ||
* | ||
* | ||
* @version 1.0.0 | ||
* @author BM Services <contact@bm-services.com> | ||
* @copyright 2012-2017 Paybox | ||
* @license http://opensource.org/licenses/OSL-3.0 | ||
* @link http://www.paybox.com/ | ||
*/ | ||
|
||
namespace Paybox\Epayment\Block\Admin\Field; | ||
|
||
class Info extends \Magento\Config\Block\System\Config\Form\Field | ||
{ | ||
/** | ||
* Render element html | ||
* | ||
* @param Magento\Framework\Data\Form\Element\AbstractElement $element | ||
* @return string | ||
*/ | ||
public function render(\Magento\Framework\Data\Form\Element\AbstractElement $element) | ||
{ | ||
$html = '<tr id="row_'.$element->getHtmlId(). | ||
'"><td class="label" colspan="5" style="text-align: left;"><span id="'.$element->getHtmlId().'">'; | ||
$html .= $element->getLabel(); | ||
$html .= '</span></td></tr>'; | ||
return $html; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,43 @@ | ||
<?php | ||
/** | ||
* Paybox Epayment module for Magento | ||
* | ||
* This source file is subject to the Open Software License (OSL 3.0) | ||
* available at : http://opensource.org/licenses/osl-3.0.php | ||
* | ||
* @package Paybox_Epayment | ||
* @copyright Copyright (c) 2013-2014 Paybox | ||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
*/ | ||
|
||
namespace Paybox\Epayment\Block\Admin\Field; | ||
|
||
class Presentation extends \Magento\Config\Block\System\Config\Form\Field | ||
{ | ||
/** | ||
* Render element html | ||
* | ||
* @param Magento\Framework\Data\Form\Element\AbstractElement $element | ||
* @return string | ||
*/ | ||
public function render(\Magento\Framework\Data\Form\Element\AbstractElement $element) { | ||
$block = $this->getLayout()->createBlock('Paybox\Epayment\Block\Admin\Presentation'); | ||
$template_html = $block->toHtml(); | ||
$html = '<tr id="row_'.$element->getHtmlId(). | ||
'"><td class="label" colspan="5" style="text-align: left;"><span id="'.$element->getHtmlId().'">'; | ||
$html .= $template_html; | ||
$html .= '</span></td></tr>'; | ||
return $html; | ||
} | ||
} | ||
<?php | ||
/** | ||
* Paybox Epayment module for Magento | ||
* | ||
* Feel free to contact Paybox by Verifone at support@paybox.com for any | ||
* question. | ||
* | ||
* LICENSE: This source file is subject to the version 3.0 of the Open | ||
* Software License (OSL-3.0) that is available through the world-wide-web | ||
* at the following URI: http://opensource.org/licenses/OSL-3.0. If | ||
* you did not receive a copy of the OSL-3.0 license and are unable | ||
* to obtain it through the web, please send a note to | ||
* support@paybox.com so we can mail you a copy immediately. | ||
* | ||
* | ||
* @version 1.0.0 | ||
* @author BM Services <contact@bm-services.com> | ||
* @copyright 2012-2017 Paybox | ||
* @license http://opensource.org/licenses/OSL-3.0 | ||
* @link http://www.paybox.com/ | ||
*/ | ||
|
||
namespace Paybox\Epayment\Block\Admin\Field; | ||
|
||
class Presentation extends \Magento\Config\Block\System\Config\Form\Field | ||
{ | ||
/** | ||
* Render element html | ||
* | ||
* @param Magento\Framework\Data\Form\Element\AbstractElement $element | ||
* @return string | ||
*/ | ||
public function render(\Magento\Framework\Data\Form\Element\AbstractElement $element) | ||
{ | ||
$block = $this->getLayout()->createBlock('Paybox\Epayment\Block\Admin\Presentation'); | ||
$template_html = $block->toHtml(); | ||
$html = '<tr id="row_'.$element->getHtmlId(). | ||
'"><td class="label" colspan="5" style="text-align: left;"><span id="'.$element->getHtmlId().'">'; | ||
$html .= $template_html; | ||
$html .= '</span></td></tr>'; | ||
return $html; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.