Skip to content
Snippets Groups Projects
Commit 0e6f5625 authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Fields for VM3

parent 7a007a2b
No related branches found
No related tags found
No related merge requests found
<!DOCTYPE html><title></title>
<?php
defined('_JEXEC') or die();
/**
*
* @package VirtueMart
* @subpackage Plugins - Fields
* @author Reinhold Kainhofer, Open Tools
* @link http://www.open-tools.net
* @copyright Copyright (c) 2014 Reinhold Kainhofer. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
*/
defined('DS') or define('DS', DIRECTORY_SEPARATOR);
if (!class_exists('ShopFunctions'))
require(JPATH_VM_ADMINISTRATOR . DS . 'helpers' . DS . 'shopfunctions.php');
class JFormFieldVmLengthUnit extends JFormField {
var $_name = 'vmLengthUnit';
protected function getInput() {
return ShopFunctions::renderLWHUnitList($this->name, $this->value);
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment