当前位置: 首页>>代码示例>>PHP>>正文


PHP lx_merge_good函数代码示例

本文整理汇总了PHP中lx_merge_good函数的典型用法代码示例。如果您正苦于以下问题:PHP lx_merge_good函数的具体用法?PHP lx_merge_good怎么用?PHP lx_merge_good使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了lx_merge_good函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: createListSlist

 static function createListSlist($parent)
 {
     $list = get_namelist_from_objectlist($parent->getList('datacenter'));
     $clist[] = '__any__';
     $clist = lx_merge_good($clist, $list);
     $nlist['nname'] = null;
     $nlist['datacenter'] = array('s', $clist);
     return $nlist;
 }
开发者ID:hypervm-ng,项目名称:hypervm-ng,代码行数:9,代码来源:pserverlib.php

示例2: readtotallog

 static function readtotallog()
 {
     $list = self::readsmtpLog();
     $nlist = self::readMaillog();
     $total = lx_merge_good($list, $nlist);
     foreach ($total as $k => $v) {
         $re['clientname'] = $k;
         $re['nname'] = $k;
         $re['mailnum'] = $v;
         $res[$k] = $re;
     }
     return $res;
 }
开发者ID:soar-team,项目名称:kloxo,代码行数:13,代码来源:clientmail.php

示例3: get_vps_ipadress

 static function get_vps_ipadress()
 {
     $out = lxshell_output("vzlist", "-a", '-H', '-o', 'ip');
     $list = explode("\n", $out);
     $total = null;
     foreach ($list as $l) {
         $l = trim($l);
         $l = trim($l, "-");
         if (csa($l, "Warning")) {
             continue;
         }
         if (!$l) {
             continue;
         }
         $res = explode(" ", $l);
         $total = lx_merge_good($total, $res);
     }
     return $total;
 }
开发者ID:lonelywoolf,项目名称:hypervm,代码行数:19,代码来源:vpstraffic__openvzlib.php

示例4: getDomainServerVlist

 static function getDomainServerVlist($parent, $obj, &$vlist)
 {
     global $gbl, $sgbl, $login, $ghtml;
     $vlist['server_detail_f'] = null;
     $wlist = $parent->getServerList('web');
     $mlist = $parent->getServerList('mmail');
     $mylist = $parent->getServerList('mysqldb');
     $dnslist = $parent->getServerList('dns');
     if ($obj) {
         // This means we are switching as opposed to creating a new client.
         $obj->newdnstemplate = '--leave--';
         $dtlist = domainbase::getDnsTemplateList($login);
         $dtlist = lx_merge_good("--leave--", $dtlist);
         $vlist['newdnstemplate'] = array('s', $dtlist);
     }
     $vlist['websyncserver'] = array('s', $wlist);
     $vlist['mmailsyncserver'] = array('s', $mlist);
     $vlist['mysqldbsyncserver'] = array('s', $mylist);
     $vlist['dnssyncserver_list'] = array('U', $dnslist);
     $list = lx_merge_good($wlist, $mlist, $mylist, $dnslist);
     $sinfo = pservercore::createServerInfo($list);
     $sinfo = get_warning_for_server_info($parent, $sinfo);
     $vlist['server_detail_f'] = array('M', $sinfo);
 }
开发者ID:soar-team,项目名称:kloxo,代码行数:24,代码来源:clientcorelib.php

示例5: updateform

 function updateform($subaction, $param)
 {
     if ($subaction === 'update') {
         $vlist['devname'] = array("M", $this->devname);
         $vlist['ipaddr'] = array('M', $this->ipaddr);
         $vlist['netmask'] = array('M', $this->netmask);
         $vlist['gateway'] = array('M', $this->gateway);
         $vlist['__v_button'] = "";
     } else {
         if ($subaction === "exclusive") {
             $db = new Sqlite($this->__masterserver, "client");
             $list = $db->getTable(array("nname"));
             $list = get_namelist_from_arraylist($list);
             $list = lx_merge_good('__unassigned__', $list);
             $vlist['clientname'] = array('s', $list);
         }
     }
     return $vlist;
 }
开发者ID:hypervm-ng,项目名称:hypervm-ng,代码行数:19,代码来源:ipaddresslib.php

示例6: printObjectTable

    function printObjectTable($name_list, $parent, $class, $blist = array(), $display = NULL)
    {
        global $gbl, $sgbl, $login, $ghtml;
        $col = $login->getSkinColor();
        $view = null;
        if (exec_class_method($class, "hasViews")) {
            $blist[] = array($ghtml->getFullUrl("a=list&c={$class}&frm_filter[view]=quota"), 1);
            $blist[] = array($ghtml->getFullUrl("a=list&c={$class}&frm_filter[view]=normal"), 1);
        }
        print_time("{$class}.objecttable");
        $rclass = $class;
        if ($this->frm_accountselect !== null) {
            $sellist = explode(',', $this->frm_accountselect);
        } else {
            $sellist = null;
        }
        $filtername = $parent->getFilterVariableForThis($class);
        $sortdir = null;
        $sortby = null;
        $fil = $login->getHPFilter();
        if (isset($fil[$filtername]['sortby'])) {
            $sortby = $fil[$filtername]['sortby'];
        }
        if (isset($fil[$filtername]['sortdir'])) {
            $sortdir = $fil[$filtername]['sortdir'];
        }
        $pagesize = (int) $login->issetHpFilter($filtername, 'pagesize') ? $login->getHPFilter($filtername, 'pagesize') : exec_class_method($rclass, "perPage");
        if (!(int) $pagesize) {
            $pagesize = 10;
        }
        $view = null;
        if (isset($fil[$filtername]['view'])) {
            $view = $fil[$filtername]['view'];
            dprintr($view);
        }
        if (!$name_list) {
            if (csa($class, "all_")) {
                $__tcl = strfrom($class, "all_");
                $name_list = exec_class_method($__tcl, "createListNlist", $parent, $view);
                foreach ($name_list as $k => $v) {
                    if (csa($k, "abutton")) {
                        unset($name_list[$k]);
                    }
                }
                $name_list = lx_merge_good(array('parent_name_f' => '10%'), $name_list);
            } else {
                $name_list = exec_class_method($class, "createListNlist", $parent, $view);
            }
        }
        $iconpath = get_image_path() . "/button";
        $buttonpath = get_image_path() . "/button/";
        $nlcount = count($name_list) + 1;
        $imgheadleft = $login->getSkinDir() . "/top_lt.gif";
        $imgheadleft = $login->getSkinDir() . "/top_lt.gif";
        $imgheadleft2 = $login->getSkinDir() . "/top_lt.gif";
        $imgheadright = $login->getSkinDir() . "/top_slope_rt.gif";
        $imgheadbg = $login->getSkinDir() . "/top_bg.gif";
        $imgbtnbg = $login->getSkinDir() . "/btn_bg.gif";
        $imgtablerowhead = $login->getSkinDir() . "/tablerow_head.gif";
        $imgtablerowheadselect = $login->getSkinDir() . "/top_line_medium.gif";
        $imgbtncrv = $login->getSkinDir() . "/btn_crv_right.gif";
        $imgtopline = $login->getSkinDir() . "/top_line.gif";
        $skindir = $login->getSkinDir();
        $classdesc = $this->get_class_description($rclass, $display);
        $unique_name = trim($parent->nname) . trim($class) . trim($display) . trim($classdesc[2]);
        $unique_name = fix_nname_to_be_variable($unique_name);
        ?>
	<br>
	<script> var ckcount<?php 
        echo $unique_name;
        ?>
 ; </script>
		<?php 
        if (!$sortby) {
            $sortby = exec_class_method($rclass, "defaultSort");
        }
        if (!$sortdir) {
            $sortdir = exec_class_method($rclass, "defaultSortDir");
        }
        $obj_list = $parent->getVirtualList($class, $total_num, $sortby, $sortdir);
        if (exec_class_method($rclass, "isdefaultHardRefresh")) {
            exec_class_method($rclass, "getExtraParameters", $parent, $obj_list);
        } else {
            if ($this->frm_hardrefresh === 'yes') {
                exec_class_method($rclass, "getExtraParameters", $parent, $obj_list);
            }
        }
        $pluraldesc = get_plural($classdesc[2]);
        if ($login->issetHpFilter($filtername, 'pagenum')) {
            $cgi_pagenum = $login->getHPFilter($filtername, 'pagenum');
        } else {
            $cgi_pagenum = 1;
        }
        $showvar = null;
        if ($login->issetHpFilter($filtername, 'show')) {
            $showvar = $login->getHPFilter($filtername, 'show');
        }
        if ($showvar) {
            $showvar = "(" . ucfirst($showvar) . ")";
        }
//.........这里部分代码省略.........
开发者ID:hypervm-ng,项目名称:hypervm-ng,代码行数:101,代码来源:htmllib.php

示例7: createListSlist

 static function createListSlist($parent)
 {
     global $gbl, $sgbl, $login, $ghtml;
     $nlist['nname'] = null;
     $gen = $login->getObject('general');
     $cat = get_namelist_from_objectlist($gen->helpdeskcategory_a);
     $cat = lx_merge_good('--any--', $cat);
     $nlist['category'] = array('s', $cat);
     return $nlist;
 }
开发者ID:soar-team,项目名称:kloxo,代码行数:10,代码来源:ticketlib.php

示例8: add_disabled

function add_disabled($list)
{
    $newlist[] = "--Disabled--";
    $newlist = lx_merge_good($newlist, $list);
    return $newlist;
}
开发者ID:zseand,项目名称:kloxo,代码行数:6,代码来源:lxlib.php

示例9: addform

 static function addform($parent, $class, $typetd = null)
 {
     $vlist['nname'] = null;
     $vlist['description'] = null;
     //$vlist['share_status'] = null;
     $qvlist = getQuotaListForClass('vps', array());
     $vlist = lx_merge_good($vlist, $qvlist);
     $ret['action'] = "add";
     //$ret['continueaction'] = "server";
     $ret['variable'] = $vlist;
     return $ret;
 }
开发者ID:digideskio,项目名称:hypervm,代码行数:12,代码来源:vpstemplatelib.php

示例10: getIndividualIpList

 function getIndividualIpList()
 {
     if (isIPV6($this->lastip)) {
         $sep = ':';
     } else {
         $sep = '.';
     }
     $base = explode($sep, $this->lastip);
     $end = array_pop($base);
     $base = explode($sep, $this->firstip);
     $start = array_pop($base);
     $base = implode($sep, $base);
     if (isIPV6($this->lastip)) {
         for ($i = hexdec($start); $i <= hexdec($end); $i++) {
             $out[] = "{$base}{$sep}" . dechex($i);
         }
     } else {
         for ($i = $start; $i <= $end; $i++) {
             $out[] = "{$base}{$sep}{$i}";
         }
     }
     $ex = get_namelist_from_objectlist($this->ippoolextraip_a);
     $out = lx_merge_good($out, $ex);
     $exception = get_namelist_from_objectlist($this->ippoolexceptionip_a);
     //dprintr($exception);
     foreach ($out as $k => $v) {
         if (isset($exception[$v])) {
             unset($out[$k]);
         }
     }
     $exception = get_namelist_from_objectlist($this->ippoolpingip_a);
     //dprintr($exception);
     foreach ($out as $k => $v) {
         if (isset($exception[$v])) {
             unset($out[$k]);
         }
     }
     return $out;
 }
开发者ID:hypervm-ng,项目名称:hypervm-ng,代码行数:39,代码来源:ippoollib.php

示例11: updateform

 function updateform($subaction, $param)
 {
     global $gbl, $sgbl, $login, $ghtml;
     $progname = $sgbl->__var_program_name;
     switch ($subaction) {
         case "multi":
             $vlist['multi'] = null;
             break;
         case "browsebackup":
             $vlist['browsebackup_b-browsebackup_flag'] = null;
             //$vlist['browsebackup_b-backupslave'] = array('s', get_all_pserver());
             //$vlist['browsebackup_b-rootdir'] = null;
             break;
         case "historytime":
             $vlist['generalmisc_b-traffichistory_time'] = null;
             $vlist['generalmisc_b-loginhistory_time'] = null;
             break;
         case "disableper":
             $vlist['generalmisc_b-dpercentage'] = array('s', array('90', '95', '100', '105', '110', '120'));
             break;
         case "npercentage":
             $vlist['generalmisc_b-npercentage'] = null;
             break;
         case "ssh_config":
             $vlist['generalmisc_b-sshport'] = null;
             //	return $vlist;
             break;
         case "kloxo_config":
             $vlist['kloxoconfig_b-remoteinstall_flag'] = null;
             $vlist['kloxoconfig_b-installapp_url'] = null;
             //	return $vlist;
             break;
         case "portconfig":
             $this->portconfig_b->setDefaultValue('sslport', $sgbl->__var_prog_ssl_port);
             $this->portconfig_b->setDefaultValue('nonsslport', $sgbl->__var_prog_port);
             $vlist['portconfig_b-sslport'] = null;
             $vlist['portconfig_b-nonsslport'] = null;
             //$vlist['portconfig_b-nonsslportdisable_flag'] = null;
             $vlist['portconfig_b-redirectnonssl_flag'] = null;
             //	return $vlist;
             break;
         case "download_config":
             $vlist['generalmisc_b-masterdownload'] = null;
             //	return $vlist;
             break;
         case "attempts":
             $vlist['generalmisc_b-attempts'] = null;
             break;
         case "maintenance":
             $vlist['generalmisc_b-maintenance_flag'] = null;
             $vlist['text_maintenance_message'] = array('t', null);
             //	return $vlist;
             break;
         case "generalsetting":
             $vlist['generalmisc_b-autoupdate'] = null;
             if ($sgbl->isHyperVM()) {
                 if (!isset($this->generalmisc_b->installkloxo)) {
                     $this->generalmisc_b->installkloxo = 'on';
                 }
                 $vlist['generalmisc_b-installkloxo'] = null;
                 $vlist['generalmisc_b-openvzincrement'] = null;
                 $vlist['generalmisc_b-xenimportdriver'] = null;
                 $vlist['generalmisc_b-rebuild_time_limit'] = null;
                 $vlist['generalmisc_b-no_console_user'] = null;
                 $vlist['generalmisc_b-disable_hostname_change'] = null;
             }
             if ($sgbl->isKloxo()) {
                 // MR --- On original, why double declare?. Modified!
                 $vlist['generalmisc_b-extrabasedir'] = null;
                 //	$vlist['generalmisc_b-extrabasedir'] = null;
                 $list = array("awstats", "webalizer");
                 //	$list = array("awstats", "webalizer");
                 $list = add_disabled($list);
                 //	$list = add_disabled($list);
                 $this->generalmisc_b->setDefaultValue('webstatisticsprogram', 'awstats');
                 //	$this->generalmisc_b->setDefaultValue('webstatisticsprogram', 'awstats');
                 $vlist['generalmisc_b-webstatisticsprogram'] = array('s', $list);
                 //	$vlist['generalmisc_b-webstatisticsprogram'] = array('s', $list);
                 $vlist['generalmisc_b-disableinstallapp'] = null;
                 //	$vlist['generalmisc_b-disableinstallapp'] = null;
                 $list = lx_merge_good('--chooser--', mmail::getWebmailProgList());
                 //	$list = lx_merge_good('--chooser--', mmail::getWebmailProgList());
                 $vlist['generalmisc_b-webmail_system_default'] = array('s', $list);
                 //	$vlist['generalmisc_b-webmail_system_default'] = array('s', $list);
             }
             $vlist['generalmisc_b-htmltitle'] = null;
             $vlist['generalmisc_b-ticket_url'] = null;
             $vlist['login_pre'] = null;
             // MR --- immediately process before goback
             $this->postUpdateGeneralsetting();
             break;
         case "hostdiscovery":
             $vlist['generalmisc_b-usenmapforping'] = null;
             break;
         case "reversedns":
             if (!$this->reversedns_b) {
                 $this->reversedns_b = new reversedns_b(null, null, 'general');
             }
             if ($sgbl->isHyperVM()) {
                 $vlist['reversedns_b-enableflag'] = null;
//.........这里部分代码省略.........
开发者ID:zseand,项目名称:kloxo,代码行数:101,代码来源:generallib.php

示例12: createServerAliasLine

 function createServerAliasLine()
 {
     global $gbl, $sgbl, $login, $ghtml;
     $list = get_namelist_from_objectlist($this->main->server_alias_a);
     $iplist = null;
     foreach ($this->main->__var_domainipaddress as $ip => $dom) {
         if ($dom === $this->main->nname) {
             $iplist[] = $ip;
         }
     }
     if ($list) {
         foreach ($list as &$__l) {
             $__l = "{$__l}.{$this->main->nname}";
         }
     }
     if ($this->main->isOn('force_www_redirect')) {
         $list = lx_merge_good(array("www.{$this->main->nname}"), $list);
     } else {
         $list = lx_merge_good(array("www.{$this->main->nname}", $this->main->nname), $list);
     }
     foreach ((array) $this->main->__var_addonlist as $d) {
         // forget this if?
         if ($d->ttype === 'redirect') {
             continue;
         }
         $list[] = $d->nname;
         $list[] = "www.{$d->nname}";
     }
     $list = lx_array_merge(array($list, $iplist));
     $string = implode("|", $list);
     // issue 674 - wildcard and subdomain problem
     // remove for * (wildcards)
     $string = str_replace("|*.{$this->main->nname}", "", $string);
     return "^({$string})";
 }
开发者ID:soar-team,项目名称:kloxo,代码行数:35,代码来源:web__lighttpdlib.php

示例13: continueForm

 static function continueForm($parent, $class, $param, $continueaction)
 {
     global $gbl, $sgbl, $login, $ghtml;
     /*
     	if(!eregi("^[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,5})$", $param['nname'])) { 
     		throw new lxException('invalid_domain_name', 'nname');
     	}
     */
     if (!cse($param['nname'], ".vm")) {
         $param['nname'] .= ".vm";
     }
     $param['nname'] = strtolower($param['nname']);
     if ($param['one_ipaddress_f']) {
         full_validate_ipaddress($param['one_ipaddress_f']);
     }
     /*
     	if (!preg_match("/[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-\.]+]/i", $param['nname'])) {
     		throw new lxException('domain_name_invalid', 'nname');
     	}
     */
     if (isOn($param['send_welcome_f'])) {
         if (!$param['contactemail']) {
             throw new lxexception("sending_welcome_needs_contactemail", array('contactemail', 'send_welcome_f'), '');
         }
         if (!validate_email($param['contactemail'])) {
             throw new lxexception("contactemail_is_not_valid_email_address", 'contactemail', '');
         }
     }
     if ($param['resourceplan_f'] === 'continue_without_plan') {
         $vlist['__c_subtitle_quota'] = 'Quota';
         $qvlist = getQuotaListForClass('vps');
         $vlist = lx_merge_good($vlist, $qvlist);
         $ret['param'] = $param;
         $ret['variable'] = $vlist;
         $ret['action'] = "Add";
     } else {
         $template = getFromAny(array($login, $parent), 'resourceplan', $param['resourceplan_f']);
         $param['use_resourceplan_f'] = 'on';
         if (!$template) {
             throw new lxexception("the_template_doesnt_exist", 'resourceplan_f', $param['resourceplan_f']);
         }
         $ret['action'] = 'addnow';
         $ret['param'] = $param;
         return $ret;
     }
     return $ret;
 }
开发者ID:digideskio,项目名称:hypervm,代码行数:47,代码来源:vpslib.php

示例14: __ac_desc_UpdateForm

function __ac_desc_UpdateForm($object)
{
    global $gbl, $sgbl, $login, $ghtml;
    if (!$object) {
        return;
    }
    $selflist = $object->getSelfList();
    $subaction = $ghtml->frm_subaction;
    // WHy is this getting called?????
    $object->createShowPropertyList($alist);
    if (isset($alist['property']) && count($alist['property']) > 1) {
        $nalist = null;
        $nalist = lx_merge_good($nalist, $alist['property']);
        $ghtml->print_tab_block($nalist);
    } else {
        if ($object->getParentO()) {
            $alist['property'] = null;
            $object->getParentO()->createShowPropertyList($alist);
            $nalist = null;
            foreach ($alist['property'] as &$a) {
                $a .= '&goback=1';
            }
            $nalist = lx_merge_good($nalist, $alist['property']);
            $ghtml->print_tab_block($nalist);
        }
    }
    $object->showRawPrint();
    $ghtml->print_message();
    if ($selflist) {
        $ghtml->printShowSelectBox($selflist);
    }
    $sublist = $object->getMultiUpload($subaction);
    if (is_array($sublist)) {
        foreach ($sublist as $subaction) {
            do_updateform($object, $subaction);
            print "<br> <br> <br> ";
        }
    } else {
        do_updateform($object, $sublist);
    }
}
开发者ID:hypervm-ng,项目名称:hypervm-ng,代码行数:41,代码来源:coredisplaylib.php

示例15: updateform


//.........这里部分代码省略.........
                 $vlist['__m_message_pre'] = 'xen_restart_message';
             }
             $vlist['rootpassword'] = null;
             return $vlist;
             //ONly for Template...
         //ONly for Template...
         case "description":
             $vlist['description'] = null;
             //$vlist['share_status'] = null;
             if (!$this->isRightParent()) {
                 $this->convertToUnmodifiable($vlist);
             }
             return $vlist;
         case "timezone":
             $vlist['timezone'] = array('s', pserver::getTimeZoneList());
             return $vlist;
         case "information":
             $vlist['nname'] = array('M', $this->nname);
             $vlist['corerootdir'] = array('M', $this->corerootdir);
             $vlist['ddate'] = array('M', @date('d-m-Y', $this->ddate));
             //			$vlist['kloxo_flag'] = null;
             if ($login->isAdmin() && $this->isXen()) {
                 $vlist['nosaveconfig_flag'] = null;
             }
             if (!$this->isXen()) {
                 $vlist['vpsid'] = array('M', $this->vpsid);
             }
             if ($this->isXen() && $login->isAdmin()) {
                 $vlist['vcpu_number'] = array('s', range(1, 10));
             }
             if ($login->isAdmin()) {
                 $use_slaves = "__use-slaves-backup-server__";
                 if (!$this->centralbackup_server) {
                     $this->centralbackup_server = $use_slaves;
                 }
                 $sq = new Sqlite(null, "centralbackupserver");
                 $list = get_namelist_from_arraylist($sq->getTable(array('nname')));
                 $list = lx_merge_good(array($use_slaves), $list);
                 //$vlist['centralbackup_flag'] = null;
                 $vlist['centralbackup_server'] = array('s', $list);
             }
             $vlist['ostemplate'] = array('M', null);
             $vlist['parent_name_f'] = array('M', $this->getParentName());
             //$vlist['dbtype_list'] = array('M', $this->listpriv->dbtype_list);
             $vlist['contactemail'] = "";
             if (!$this->isLogin()) {
                 $vlist['text_comment'] = null;
             }
             return $vlist;
             // Only for template. For the main guy, it comes as 'rebuild'
         // Only for template. For the main guy, it comes as 'rebuild'
         case "network":
             if ($this->isXen()) {
                 $vlist['__m_message_pre'] = 'xen_restart_message';
             }
             if (!$this->isLogin() || !$gen->isOn('disable_hostname_change')) {
                 $vlist['hostname'] = null;
             }
             if ($this->isXen()) {
                 if (!$this->networknetmask) {
                     $this->networknetmask = "255.255.255.0";
                 }
                 $vlist['networkgateway'] = null;
                 $vlist['networknetmask'] = null;
                 if ($login->priv->isOn('ip_manage_flag') || $login->isAdmin()) {
                     $vlist['networkbridge'] = array('s', array("__automatic__", "xenbr0", "xenbr1", "xenbr2", "xenbr3", "xenbr4"));
                 }
             }
             $iplist = $this->vmipaddress_a;
             $iplist = implode(", ", get_namelist_from_objectlist($iplist, 'nname'));
             $vlist['one_ipaddress_f'] = array('M', $iplist);
             $vlist['nameserver'] = null;
             return $vlist;
         case "ostemplate":
             $driverapp = $gbl->getSyncClass($this->__masterserver, $this->listpriv->vpspserver_sing, 'vps');
             $ostlist = rl_exec_get(null, $this->listpriv->vpspserver_sing, array("vps__{$driverapp}", "getOsTemplatelist"));
             $ostlist = lx_merge_good(array('--defer-osimage--' => '--defer-osimage--'), $ostlist);
             $vlist['ostemplate'] = array('A', $ostlist);
             return $vlist;
         case "changesyncserver":
             $sq = new Sqlite(null, 'pserver');
             $list = $sq->getTable(array('nname'));
             $list = get_namelist_from_arraylist($list);
             $vlist['syncserver'] = array('s', $list);
             $gbl->__ajax_refresh = true;
             return $vlist;
             // Only for template...
         // Only for template...
         case "vpspserver_s":
             $listpriv = $parent->listpriv;
             $vlist['server_detail_f'] = array('M', pserver::createServerInfo($listpriv->vpspserver_list, "vps"));
             $parent = $this->getParentO();
             $vlist['vpspserver_sing'] = null;
             if (!$this->isRightParent()) {
                 $this->convertToUnmodifiable($vlist);
             }
             return $vlist;
     }
     return parent::updateform($subaction, $param);
 }
开发者ID:hypervm-ng,项目名称:hypervm-ng,代码行数:101,代码来源:vpsbaselib.php


注:本文中的lx_merge_good函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。