Файловый менеджер - Редактировать - /home/digilove/public_html/components/com_marketplace/models/fields/orderstatus.php
Назад
<?php /** * Marketplace - Component Marketplace * ****************************************************************** * * PHP version 7.0 * * @category Component * @package Joomla * @author WebKul software private limited <support@webkul.com> * @copyright 2010 WebKul software private limited * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL * @version GIT:5.2 * @filesource http://store.webkul.com * @link Technical Support: webkul.uvdesk.com * ****************************************************************** */ defined('JPATH_BASE') or die; jimport('joomla.html.html'); jimport('joomla.form.formfield'); jimport('joomla.form.helper'); JFormHelper::loadFieldClass('list'); if (!class_exists('Vmconfig')) { include JPATH_ADMINISTRATOR. '/components/com_virtuemart/helper/config.php'; } Vmconfig::loadConfig(); /** * JFormFieldOrderstatus class * * @category Component * @package Joomla * @author WebKul software private limited <support@webkul.com> * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL * @link Technical Support: webkul.uvdesk.com */ class JFormFieldOrderstatus extends JFormFieldList { protected $type = 'Orderstatus'; /** * Get Options function * * @return void */ public function getOptions() { $vmlang=VmConfig::$vmlang; $options=array(); $status=VmModel::getModel('orderstatus'); $options=$status->getOrderStatusNames(); foreach ($options as $key => $value) { $opt[$key]=JText::_($options[$key]['order_status_name']); } return array_merge(parent::getOptions(), $opt); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка