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


PHP DOM::AddChild方法代码示例

本文整理汇总了PHP中DOM::AddChild方法的典型用法代码示例。如果您正苦于以下问题:PHP DOM::AddChild方法的具体用法?PHP DOM::AddChild怎么用?PHP DOM::AddChild使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在DOM的用法示例。


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

示例1: UniqID

         $LinkID = UniqID('ID');
         #-------------------------------------------------------------------------------
         $Links =& Links();
         #-------------------------------------------------------------------------------
         $Links[$LinkID] =& $Adding;
         #-------------------------------------------------------------------------------
         $Comp = Comp_Load('Form/Prompt', $LinkID, $Item['Prompt']);
         if (Is_Error($Comp)) {
             return ERROR | @Trigger_Error(500);
         }
         #-------------------------------------------------------------------------------
         unset($Links[$LinkID]);
         #-------------------------------------------------------------------------------
     }
     #-------------------------------------------------------------------------------
     $Section->AddChild('TopPanelTabCenter', $Adding);
     #-------------------------------------------------------------------------------
     $Section->AddAttribs('TopPanelTabRight', array('src' => SPrintF('SRC:{Images/TopPanelTabRight%s.png}', $Prefix)));
     #-------------------------------------------------------------------------------
     $Td->AddChild($Section->Links['TopPanel']);
     #-------------------------------------------------------------------------------
     $Tr->AddChild($Td);
     #-------------------------------------------------------------------------------
 }
 #-------------------------------------------------------------------------------
 $Adding = new Tag('TR');
 #-------------------------------------------------------------------------------
 $Adding->AddChild(new Tag('TD', new Tag('A', array('class' => 'Button', 'title' => 'Мои настройки', 'href' => "javascript:ShowWindow('/UserPersonalDataChange');"), 'Мои настройки')));
 #-------------------------------------------------------------------------------
 $Adding->AddChild(new Tag('TD', array('class' => 'TopPanelSeparator', 'align' => 'center', 'width' => 5, 'style' => 'color:#848484;'), '|'));
 #-------------------------------------------------------------------------------
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:TopPanel.comp.php

示例2: Tag

    $Form = new Tag('FORM', array('name' => 'LogsForm', 'action' => 'LogScan', 'target' => 'LogScan', 'method' => 'POST'), $Comp);
    #-----------------------------------------------------------------------------
    $NoBody->AddChild($Form);
    #-----------------------------------------------------------------------------
    $IFrame = new Tag('IFRAME', array('name' => 'LogScan', 'src' => '/Administrator/LogScan?Log=http-send.log', 'width' => '100%', 'height' => '240px'), 'Загрузка...');
    #-----------------------------------------------------------------------------
    $NoBody->AddChild($IFrame);
} else {
    #-----------------------------------------------------------------------------
    $Comp = Comp_Load('Information', 'Логи системы пока еще не ведутся.', 'Notice');
    if (Is_Error($Comp)) {
        return ERROR | @Trigger_Error(500);
    }
    #-----------------------------------------------------------------------------
    $NoBody->AddChild($Comp);
}
#-------------------------------------------------------------------------------
#$Comp = Comp_Load('Tab','Administrator/Billing',$NoBody);
#if(Is_Error($Comp))
#  return ERROR | @Trigger_Error(500);
#-------------------------------------------------------------------------------
$DOM->AddChild('Into', $NoBody);
#-------------------------------------------------------------------------------
$Out = $DOM->Build();
#-------------------------------------------------------------------------------
if (Is_Error($Out)) {
    return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
return $Out;
#-------------------------------------------------------------------------------
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:Logs.comp.php

示例3: array

#-------------------------------------------------------------------------------
$Div->AddChild($Comp);
#-------------------------------------------------------------------------------
$Table[] = $Div;
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
$Comp = Comp_Load('Tables/Standard', $Table);
if (Is_Error($Comp)) {
    return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$Form = new Tag('FORM', array('name' => 'DSSchemeEditForm', 'onsubmit' => 'return false;'), $Comp);
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
$Comp = Comp_Load('Form/Input', array('name' => 'DSSchemeID', 'type' => 'hidden', 'value' => $DSSchemeID));
if (Is_Error($Comp)) {
    return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$Form->AddChild($Comp);
#-------------------------------------------------------------------------------
$DOM->AddChild('Into', $Form);
#-------------------------------------------------------------------------------
if (Is_Error($DOM->Build(FALSE))) {
    return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
return array('Status' => 'Ok', 'DOM' => $DOM->Object);
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:DSSchemeEdit.comp.php

示例4: array

     case 'true':
         break;
     default:
         return ERROR | @Trigger_Error(101);
 }
 #-------------------------------------------------------------------------------
 #-------------------------------------------------------------------------------
 $Comp = Comp_Load('Form/Input', array('name' => 'ContractID', 'type' => 'hidden', 'value' => $Contract['ID']));
 if (Is_Error($Comp)) {
     return ERROR | @Trigger_Error(500);
 }
 #-------------------------------------------------------------------------------
 $Form->AddChild($Comp);
 #-------------------------------------------------------------------------------
 #-------------------------------------------------------------------------------
 $DOM->AddChild('Head', new Tag('SCRIPT', array('type' => 'text/javascript', 'src' => 'SRC:{Js/Pages/InvoiceMake.js}')));
 #-------------------------------------------------------------------------------
 #-------------------------------------------------------------------------------
 if ($Contract['TypeID'] == 'Default') {
     #-------------------------------------------------------------------------------
     Debug(SPrintF('[comp/www/InvoiceMake]: Contract TypeID = Default'));
     #-------------------------------------------------------------------------------
     $PaymentSystems = $Config['Invoices']['PaymentSystems'];
     #-------------------------------------------------------------------------------
     $Script = array('var PayDesc = {}');
     #-------------------------------------------------------------------------------
     $Options = $Array = array();
     #-------------------------------------------------------------------------------
     foreach (Array_Keys($PaymentSystems) as $PaymentSystemID) {
         #-------------------------------------------------------------------------------
         $PaymentSystem = $PaymentSystems[$PaymentSystemID];
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:InvoiceMake.comp.php

示例5: Tag

#-------------------------------------------------------------------------------
$Table[] = $Comp;
#-------------------------------------------------------------------------------
$Comp = Comp_Load('Tables/Standard', $Table);
if (Is_Error($Comp)) {
    return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$Form = new Tag('Form', array('action' => '/Administrator/Bpanel', 'target' => 'Migration'), $Comp);
#-------------------------------------------------------------------------------
$NoBody = new Tag('NOBODY');
#-------------------------------------------------------------------------------
$Comp = Comp_Load('Tab', 'Administrator/Import', $NoBody);
if (Is_Error($Comp)) {
    return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$DOM->AddChild('Into', $Comp);
#-------------------------------------------------------------------------------
$DOM->AddChild('Into', $Form);
#-------------------------------------------------------------------------------
$DOM->AddChild('Into', new Tag('IFRAME', array('name' => 'Migration', 'width' => '650', 'style' => 'height:240;'), 'Загрузка...'));
#-------------------------------------------------------------------------------
$Out = $DOM->Build();
#-------------------------------------------------------------------------------
if (Is_Error($Out)) {
    return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
return $Out;
#-------------------------------------------------------------------------------
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:Migration.comp.php

示例6: SPrintF

        case 'array':
            # No more...
            break;
        default:
            return ERROR | @Trigger_Error(101);
    }
    #-------------------------------------------------------------------------------
}
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
$DOM->AddText('Title', $UserID ? SPrintF('Новый запрос для [%s]', $User['Email']) : 'Новый запрос');
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
$Script = new Tag('SCRIPT', array('type' => 'text/javascript', 'src' => 'SRC:{Js/TicketFunctions.js}'));
#-------------------------------------------------------------------------------
$DOM->AddChild('Head', $Script);
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
$Form = new Tag('FORM', array('name' => 'TicketEditForm', 'onsubmit' => 'return false;', 'OnKeyPress' => "ctrlEnterEvent(event) && FormEdit('/API/TicketEdit','TicketEditForm','Добавление запроса');"));
#-------------------------------------------------------------------------------
$Table = array('Общие параметры');
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
$Comp = Comp_Load('Form/Input', array('name' => 'Theme', 'style' => 'width: 100%', 'type' => 'text', 'prompt' => "Краткое описание Вашей проблемы или вопроса.\nНапример: Проблемы с почтой"));
if (Is_Error($Comp)) {
    return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$Table[] = array('Тема запроса', $Comp);
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:TicketEdit.comp.php

示例7: DOM

}
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
$DOM = new DOM();
#-------------------------------------------------------------------------------
$Links =& Links();
# Коллекция ссылок
$Links['DOM'] =& $DOM;
#-------------------------------------------------------------------------------
if (Is_Error($DOM->Load('Window'))) {
    return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$Script = new Tag('SCRIPT', array('type' => 'text/javascript', 'src' => 'SRC:{Js/Pages/NoticeEdit.js}'));
#-------------------------------------------------------------------------------
$DOM->AddChild('Head', $Script);
#-------------------------------------------------------------------------------
$DOM->AddText('Title', 'Редактирование заметки');
#-------------------------------------------------------------------------------
$Table = array();
#-------------------------------------------------------------------------------
$Comp = Comp_Load('Form/TextArea', array('name' => 'UserNotice', 'style' => 'width: 400px', 'rows' => 10), $UserNotice['UserNotice']);
if (Is_Error($Comp)) {
    return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$Table[] = $Comp;
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
$Comp = Comp_Load('Form/Input', array('type' => 'button', 'onclick' => "form.UserNotice.value = '';NoticeEdit();", 'value' => 'Удалить'));
if (Is_Error($Comp)) {
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:NoticeEdit.comp.php

示例8: DOM

if (Is_Error(System_Load('classes/DOM.class.php'))) {
    return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$Comp = Comp_Load('Clauses/Load', $ClauseID, TRUE, $Preview);
if (Is_Error($Comp)) {
    return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$DOM = new DOM();
#-------------------------------------------------------------------------------
$Links =& Links();
# Коллекция ссылок
$Links['DOM'] =& $DOM;
#-------------------------------------------------------------------------------
if (Is_Error($DOM->Load(XML_HTTP_REQUEST ? 'Window' : ($TemplateID ? $TemplateID : 'Main')))) {
    return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$DOM->AddText('Title', $Comp['Title']);
#-------------------------------------------------------------------------------
$DOM->AddChild('Into', $Comp['DOM']);
#-------------------------------------------------------------------------------
$Out = $DOM->Build(!XML_HTTP_REQUEST);
#-------------------------------------------------------------------------------
if (Is_Error($Out)) {
    return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
return XML_HTTP_REQUEST ? array('Status' => 'Ok', 'DOM' => $DOM->Object) : $Out;
#-------------------------------------------------------------------------------
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:Clause.comp.php

示例9: Tag

$Links['DOM'] =& $DOM;
#-------------------------------------------------------------------------------
if (Is_Error($DOM->Load(XML_HTTP_REQUEST ? 'Window' : 'Main'))) {
    return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$DOM->AddText('Title', 'Вход в биллинговую систему');
#-------------------------------------------------------------------------------
if (isset($GLOBALS['__USER'])) {
    #-----------------------------------------------------------------------------
    $Comp = Comp_Load('Information', 'Вы авторизованы в биллинговой системе. Для выхода из системы, нажмите кнопку [выход] на панели верхнего меню.', 'Notice');
    if (Is_Error($Comp)) {
        return ERROR | @Trigger_Error(500);
    }
    #-----------------------------------------------------------------------------
    $DOM->AddChild('Into', $Comp);
} else {
    #-----------------------------------------------------------------------------
    $Script = new Tag('SCRIPT', array('type' => 'text/javascript', 'src' => 'SRC:{Js/Logon.js}'));
    #-----------------------------------------------------------------------------
    $DOM->AddChild('Head', $Script);
    #-----------------------------------------------------------------------------
    #-----------------------------------------------------------------------------
    if (Is_Object($Exception)) {
        #---------------------------------------------------------------------------
        if (XML_HTTP_REQUEST) {
            return $Exception;
        }
        #---------------------------------------------------------------------------
        $String = HtmlSpecialChars($Exception->String);
        #---------------------------------------------------------------------------
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:Logon.comp.php

示例10: DOM

}
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
$DOM = new DOM();
#-------------------------------------------------------------------------------
$Links =& Links();
# Коллекция ссылок
$Links['DOM'] =& $DOM;
#-------------------------------------------------------------------------------
if (Is_Error($DOM->Load('Window'))) {
    return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$DOM->AddAttribs('Body', array('onload' => SPrintF("GetSchemes(%s,'FromSchemeID','%s');GetSchemes(%s,'ToSchemeID','%s');", $Politic['FromServiceID'], $Politic['FromSchemeID'], $Politic['ToServiceID'], $Politic['ToSchemeID'])));
#-------------------------------------------------------------------------------
$DOM->AddChild('Head', new Tag('SCRIPT', array('type' => 'text/javascript', 'src' => 'SRC:{Js/GetSchemes.js}')));
#-------------------------------------------------------------------------------
$Title = $PoliticID ? 'Редактирование ценовой политики' : 'Добавление ценовой политики';
#-------------------------------------------------------------------------------
$DOM->AddText('Title', $Title);
#-------------------------------------------------------------------------------
$Table = array();
#-------------------------------------------------------------------------------
$Comp = Comp_Load('Form/Owner', 'Владелец политики', $Politic['GroupID'], $Politic['UserID']);
if (Is_Error($Comp)) {
    return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
$Table[] = $Comp;
#-------------------------------------------------------------------------------
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:PoliticEdit.comp.php

示例11: DOM

#-------------------------------------------------------------------------------
$DOM = new DOM();
#-------------------------------------------------------------------------------
$Links =& Links();
# Коллекция ссылок
$Links['DOM'] =& $DOM;
#-------------------------------------------------------------------------------
if (Is_Error($DOM->Load('Window'))) {
    return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$Title = SPrintF('Таблица: %s, запись ID: %s', $TableID, $Row['ID']);
#-------------------------------------------------------------------------------
$DOM->AddText('Title', $Title);
#-------------------------------------------------------------------------------
$DOM->AddChild('Into', new Tag('FORM', array('id' => 'RowEditForm', 'name' => 'RowEditForm', 'onsubmit' => 'return false;')));
#-------------------------------------------------------------------------------
$Table = array();
#-------------------------------------------------------------------------------
foreach (Array_Keys($Row) as $ColumnID) {
    #-------------------------------------------------------------------------------
    $TypeID = $ColumnsTypes[$ColumnID]['Type'];
    #-------------------------------------------------------------------------------
    $Value = $Row[$ColumnID];
    #-------------------------------------------------------------------------------
    #Debug(SPrintF('[comp/www/Administrator/RowEdit]: $ColumnID = %s; $Value = %s',$ColumnID,$Value));
    #-------------------------------------------------------------------------------
    if (Is_Null($Value)) {
        $Value = '[NULL]';
    }
    #-------------------------------------------------------------------------------
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:RowEdit.comp.php

示例12: array

$Comp1 = Comp_Load('Buttons/Standard', array('onclick' => SPrintF("javascript:AjaxCall('/VerifyReport',{ContractID:%u,Format:'PDF'},'Формирование акта сверки в формат PDF','document.location = \$Answer.Location');", $ContractID)), 'Скачать в формате PDF', 'PDF.gif');
if (Is_Error($Comp1)) {
    return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$Comp2 = Comp_Load('Buttons/Standard', array('onclick' => SPrintF("javascript:AjaxCall('/VerifyReport',{ContractID:%u,Format:'CSV'},'Формирование акта сверки в формат CSV','document.location = \$Answer.Location');", $ContractID)), 'Скачать в формате CSV', 'CSV.gif');
if (Is_Error($Comp2)) {
    return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$Comp = Comp_Load('Buttons/Panel', array('Comp' => $Comp1, 'Name' => 'Скачать в формате PDF'), array('Comp' => $Comp2, 'Name' => 'Скачать в формате CSV'));
if (Is_Error($Comp)) {
    return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$DOM->AddChild('Into', new Tag('DIV', array('id' => 'Rubbish'), $Comp));
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
$Verifies = array();
#-------------------------------------------------------------------------------
$Invoices = DB_Select('Invoices', array('ID', 'CreateDate', 'Summ'), array('Where' => array(SPrintF('`ContractID` = %u', $ContractID), '`StatusID` = "Payed"')));
#-------------------------------------------------------------------------------
switch (ValueOf($Invoices)) {
    case 'error':
        return ERROR | @Trigger_Error(500);
    case 'exception':
        return new gException('INVOICES_NOT_FOUND', 'Нет оплаченных счетов');
    case 'array':
        break;
    default:
        return ERROR | @Trigger_Error(101);
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:VerifyReport.comp.php

示例13: DOM

     return ERROR | @Trigger_Error(400);
 case 'array':
     #-------------------------------------------------------------------
     $DOM = new DOM();
     #-------------------------------------------------------------------
     $Links =& Links();
     # Коллекция ссылок
     $Links['DOM'] =& $DOM;
     #-------------------------------------------------------------------
     if (Is_Error($DOM->Load('Window'))) {
         return ERROR | @Trigger_Error(500);
     }
     #-------------------------------------------------------------------
     $DOM->AddText('Title', 'Смена именных серверов');
     #-------------------------------------------------------------------
     $DOM->AddChild('Head', new Tag('SCRIPT', array('type' => 'text/javascript', 'src' => 'SRC:{Js/Pages/DomainOrderNsChange.js}')));
     #-------------------------------------------------------------------
     $DOM->AddAttribs('Body', array('onload' => 'IsNewNs();'));
     #-------------------------------------------------------------------
     $Table = array();
     #-------------------------------------------------------------------
     $Domain = SPrintF('%s.%s', $DomainOrder['DomainName'], $DomainScheme['Name']);
     #-------------------------------------------------------------------
     $Table[] = array('Доменное имя', $Domain);
     #-------------------------------------------------------------------
     $Messages = Messages();
     #-------------------------------------------------------------------
     $Table[] = 'Первичный сервер имен';
     #-------------------------------------------------------------------
     $Comp = Comp_Load('Form/Input', array('name' => 'Ns1Name', 'size' => 15, 'type' => 'text', 'prompt' => $Messages['Prompts']['Domain']['NsName'], 'onkeyup' => 'IsNewNs();', 'value' => $DomainOrder['Ns1Name']));
     if (Is_Error($Comp)) {
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:DomainOrderNsChange.comp.php

示例14: array

        if (Is_Error($Comp)) {
            return ERROR | @Trigger_Error(500);
        }
        #-------------------------------------------------------------------------------
        $Form->AddChild($Comp);
        #-------------------------------------------------------------------------------
        #-------------------------------------------------------------------------------
        $Comp = Comp_Load('Form/Input', array('name' => 'IsRemote', 'type' => 'hidden', 'value' => $IsRemote));
        if (Is_Error($Comp)) {
            return ERROR | @Trigger_Error(500);
        }
        #-------------------------------------------------------------------------------
        $Form->AddChild($Comp);
        #-------------------------------------------------------------------------------
        #-------------------------------------------------------------------------------
        $DOM->AddChild('Into', $Form);
        #-------------------------------------------------------------------------------
        #-------------------------------------------------------------------------------
        $Out = $DOM->Build(FALSE);
        #-------------------------------------------------------------------------------
        if (Is_Error($Out)) {
            return ERROR | @Trigger_Error(500);
        }
        #-------------------------------------------------------------------------------
        return array('Status' => 'Ok', 'DOM' => $DOM->Object);
        #-------------------------------------------------------------------------------
    }
    #-------------------------------------------------------------------------------
}
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:InvoiceDocument.comp.php

示例15: foreach

 foreach (Array_Keys($Template) as $Key) {
     if ($Key != 'SystemID') {
         continue;
     }
     #-------------------------------------------------------------------------------
     if (Is_Array($Template[$Key])) {
         #-------------------------------------------------------------------------------
         $Script = array('var Settings = {};');
         #-------------------------------------------------------------------------------
         foreach (Array_Keys($Template[$Key]) as $SystemID) {
             $Script[] = SPrintF("Settings['%s'] = %s;", $SystemID, JSON_Encode($Template[$Key][$SystemID]['Settings']));
         }
         #-------------------------------------------------------------------------------
         $Script[] = "function SettingsUpdate(){\nvar \$Form = document.forms['ServerEditForm'];\nvar \$System = Settings[\$Form.{$Key}.value];\nfor(var i in \$System)\n\$Form[i].value = \$System[i];\n}";
         #-------------------------------------------------------------------------------
         $DOM->AddChild('Head', new Tag('SCRIPT', Implode("\n", $Script)));
         #-------------------------------------------------------------------------------
     }
     #-------------------------------------------------------------------------------
 }
 #-------------------------------------------------------------------------------
 #-------------------------------------------------------------------------------
 $Comp = Comp_Load('Form/Input', array('name' => 'TemplateID', 'type' => 'hidden', 'value' => $TemplateID));
 if (Is_Error($Comp)) {
     return ERROR | @Trigger_Error(500);
 }
 #-------------------------------------------------------------------------------
 $Form->AddChild($Comp);
 #-------------------------------------------------------------------------------
 #-------------------------------------------------------------------------------
 $Table = array();
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:ServerEdit.comp.php


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