本文整理汇总了PHP中DOM类的典型用法代码示例。如果您正苦于以下问题:PHP DOM类的具体用法?PHP DOM怎么用?PHP DOM使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了DOM类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: error_500
public static function error_500($error_message)
{
header($_SERVER["SERVER_PROTOCOL"] . " 500 Internal Server Error", true, 500);
DOM::start();
DOM::html()->body()->append_h1('500 Internal error');
DOM::html()->body()->append_p($error_message);
echo DOM::generate();
trigger_error('App error fired', E_USER_NOTICE);
exit;
}
开发者ID:klan1,项目名称:k1.lib,代码行数:10,代码来源:template.php
示例2: smarty_function_table
function smarty_function_table($params, $smarty)
{
$tableName = $params['name'];
if (!$tableName) {
return "";
}
$DOM = new DOM();
$Links =& Links();
# Коллекция ссылок
$Links['DOM'] =& $DOM;
$comp = Comp_Load('Tables/Super', $tableName);
if (Is_Error($comp)) {
return ERROR | @Trigger_Error(500);
}
$DOM->Object = $comp;
$Out = $DOM->Build();
if (Is_Error($Out)) {
return ERROR | @Trigger_Error(500);
}
return $Out;
}
开发者ID:carriercomm,项目名称:jbs,代码行数:21,代码来源:function.table.php
示例3: eval
<?php
#-------------------------------------------------------------------------------
/** @author Alex Keda, for www.host-food.ru */
/******************************************************************************/
/******************************************************************************/
eval(COMP_INIT);
/******************************************************************************/
/******************************************************************************/
if (Is_Error(System_Load('modules/Authorisation.mod', 'classes/DOM.class.php'))) {
return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$DOM = new DOM();
#-------------------------------------------------------------------------------
$Links =& Links();
# Коллекция ссылок
$Links['DOM'] =& $DOM;
#-------------------------------------------------------------------------------
if (Is_Error($DOM->Load('Base'))) {
return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$DOM->AddChild('Head', new Tag('SCRIPT', array('type' => 'text/javascript', 'src' => 'SRC:{Js/Tasks.js}')));
#-------------------------------------------------------------------------------
$DOM->AddAttribs('MenuLeft', array('args' => 'Administrator/AddIns'));
#-------------------------------------------------------------------------------
$DOM->AddText('Title', 'Дополнения → Рассылка → Все рассылки');
#-------------------------------------------------------------------------------
$NoBody = new Tag('NOBODY');
#-------------------------------------------------------------------------------
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:Dispatches.comp.php
示例4: eval
<?php
#-------------------------------------------------------------------------------
/** @author Великодный В.В. (Joonte Ltd.) */
/******************************************************************************/
/******************************************************************************/
eval(COMP_INIT);
/******************************************************************************/
/******************************************************************************/
if (Is_Error(System_Load('modules/Authorisation.mod', 'classes/DOM.class.php'))) {
return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$DOM = new DOM();
#-------------------------------------------------------------------------------
$Links =& Links();
# Коллекция ссылок
$Links['DOM'] =& $DOM;
#-------------------------------------------------------------------------------
if (Is_Error($DOM->Load('Base'))) {
return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$DOM->AddAttribs('MenuLeft', array('args' => 'User/Office'));
#-------------------------------------------------------------------------------
$DOM->AddText('Title', 'Мой офис → Партнерская программа');
$NoBody = new Tag('NOBODY');
#-------------------------------------------------------------------------------
$Comp = Comp_Load('Tab', 'User/PartnerProgramm', $NoBody);
if (Is_Error($Comp)) {
return ERROR | @Trigger_Error(500);
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:DependUsers.comp.php
示例5: DOM
return ERROR | @Trigger_Error(400);
case 'array':
break;
default:
return ERROR | @Trigger_Error(101);
}
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
if ($GLOBALS['__USER']['ID'] != $UserNotice['UserID']) {
if (!$GLOBALS['__USER']['IsAdmin']) {
return ERROR | @Trigger_Error(700);
}
}
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
$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', 'Редактирование заметки');
#-------------------------------------------------------------------------------
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:NoticeEdit.comp.php
示例6: Links
#-------------------------------------------------------------------------------
$_COOKIE['OwnerID'] = $__USER['ID'];
#-------------------------------------------------------------------------------
if (!SetCookie('IsManaged', 'yes')) {
return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$_COOKIE['IsManaged'] = 'yes';
#-------------------------------------------------------------------------------
}
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
$Links =& Links();
# Коллекция ссылок
#-------------------------------------------------------------------------------
$DOM = new DOM();
#-------------------------------------------------------------------------------
$Links['DOM'] =& $DOM;
#-------------------------------------------------------------------------------
if (Is_Error($DOM->Load(XML_HTTP_REQUEST ? 'Window' : 'Main'))) {
return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$DOM->AddText('Title', 'Регистрация в биллинговой системе');
#-------------------------------------------------------------------------------
$Script = new Tag('SCRIPT', array('type' => 'text/javascript', 'src' => 'SRC:{Js/Pages/UserRegister.js}'));
#-------------------------------------------------------------------------------
$DOM->AddChild('Head', $Script);
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
$DOM->AddChild('Head', new Tag('SCRIPT', array('type' => 'text/javascript', 'src' => 'SRC:{Js/PasswordCheck.js}')));
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:UserRegister.comp.php
示例7: switch
#-------------------------------------------------------------------------------
switch (ValueOf($IsPermission)) {
case 'error':
return ERROR | @Trigger_Error(500);
case 'exception':
return ERROR | @Trigger_Error(400);
case 'false':
return ERROR | @Trigger_Error(700);
case 'true':
break;
default:
return ERROR | @Trigger_Error(101);
}
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
$DOM = new DOM();
#-------------------------------------------------------------------------------
$Links =& Links();
# Коллекция ссылок
$Links['DOM'] =& $DOM;
#-------------------------------------------------------------------------------
if (Is_Error($DOM->Load('Window'))) {
return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$DOM->AddText('Title', 'История изменений');
#-------------------------------------------------------------------------------
$Row = array();
#-------------------------------------------------------------------------------
$Row[] = new Tag('TD', array('class' => 'Head'), 'Дата изменения');
$Row[] = new Tag('TD', array('class' => 'Head'), 'Статус');
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:StatusesHistory.comp.php
示例8: switch
#-------------------------------------------------------------------------------
switch (ValueOf($IsPermission)) {
case 'error':
return ERROR | @Trigger_Error(500);
case 'exception':
return ERROR | @Trigger_Error(400);
case 'false':
return new gException('NO_PERMISSION', 'У вас отсутствуют права на изменение настроек автопродления');
case 'true':
break;
default:
return ERROR | @Trigger_Error(101);
}
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
$DOM = new DOM();
#-------------------------------------------------------------------------------
$Links =& Links();
# Коллекция ссылок
$Links['DOM'] =& $DOM;
#-------------------------------------------------------------------------------
if (Is_Error($DOM->Load('Window'))) {
return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$DOM->AddText('Title', SPrintF('Настройки автопродления, услуга "%s"', $Service['Name']));
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
$Number = Comp_Load('Formats/Order/Number', $Order['OrderID']);
if (Is_Error($Number)) {
return ERROR | @Trigger_Error(500);
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:ServiceAutoProlong.comp.php
示例9: switch
switch (ValueOf($Profile)) {
case 'error':
return ERROR | @Trigger_Error(500);
case 'exception':
return ERROR | @Trigger_Error(400);
case 'array':
$Replace['Customer'] = $Profile['Attribs'];
break;
default:
return ERROR | @Trigger_Error(101);
}
}
#---------------------------------------------------------------
$Summ = Round($Result['Summ'], 2);
#---------------------------------------------------------------
$DOM = new DOM();
#---------------------------------------------------------------
if (Is_Error($DOM->Load('WorksComplite/Reports/Template'))) {
return ERROR | @Trigger_Error(500);
}
#---------------------------------------------------------------
$Adding = System_Read(SPrintF('templates/WorksComplite/Reports/Head.%s.xml', $Contract['IsUponConsider'] ? 'Upon' : 'Use'));
if (Is_Error($Adding)) {
return ERROR | @Trigger_Error(500);
}
#---------------------------------------------------------------
$DOM->AddHTML('Body', $Adding, TRUE);
#---------------------------------------------------------------
$Executor = DB_Select('Profiles', 'TemplateID', array('UNIQ', 'ID' => 100));
#---------------------------------------------------------------
switch (ValueOf($Executor)) {
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:WorksCompliteReportDownload.comp.php
示例10: eval
#-------------------------------------------------------------------------------
/** @author Великодный В.В. (Joonte Ltd.) */
/******************************************************************************/
/******************************************************************************/
eval(COMP_INIT);
/******************************************************************************/
/******************************************************************************/
$Args = Args();
#-------------------------------------------------------------------------------
$IsError = (bool) @$Args['Error'];
#-------------------------------------------------------------------------------
if (Is_Error(System_Load('modules/Authorisation.mod', 'classes/DOM.class.php'))) {
return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$DOM = new DOM();
#-------------------------------------------------------------------------------
$Links =& Links();
# Коллекция ссылок
$Links['DOM'] =& $DOM;
#-------------------------------------------------------------------------------
if (Is_Error($DOM->Load('Base'))) {
return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$DOM->AddAttribs('MenuLeft', array('args' => 'User/Office'));
#-------------------------------------------------------------------------------
$DOM->AddText('Title', 'Мой офис → Счета на оплату');
#-------------------------------------------------------------------------------
$Comp = Comp_Load('Buttons/Standard', array('onclick' => "ShowWindow('/InvoiceMake');"), 'Новый счёт', 'Add.gif');
if (Is_Error($Comp)) {
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:Invoices.comp.php
示例11: eval
#-------------------------------------------------------------------------------
/** @author Великодный В.В. (Joonte Ltd.) */
/******************************************************************************/
/******************************************************************************/
eval(COMP_INIT);
/******************************************************************************/
/******************************************************************************/
$Args = Args();
#-------------------------------------------------------------------------------
$UserID = (int) @$Args['UserID'];
#-------------------------------------------------------------------------------
if (Is_Error(System_Load('modules/Authorisation.mod', 'classes/DOM.class.php'))) {
return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$DOM = new DOM();
#-------------------------------------------------------------------------------
$Links =& Links();
# Коллекция ссылок
$Links['DOM'] =& $DOM;
#-------------------------------------------------------------------------------
if (Is_Error($DOM->Load('Window'))) {
return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$DOM->AddAttribs('Body', array('onload' => "window.document.getElementById('Message').focus();"));
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
if ($UserID) {
#-------------------------------------------------------------------------------
$User = DB_Select('Users', array('ID', 'GroupID', 'Name', 'Email'), array('UNIQ', 'ID' => $UserID));
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:TicketEdit.comp.php
示例12: eval
<?php
#-------------------------------------------------------------------------------
/** @author Великодный В.В. (Joonte Ltd.) */
/******************************************************************************/
/******************************************************************************/
eval(COMP_INIT);
/******************************************************************************/
/******************************************************************************/
if (Is_Error(System_Load('modules/Authorisation.mod', 'classes/DOM.class.php'))) {
return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$DOM = new DOM();
#-------------------------------------------------------------------------------
$Links =& Links();
#-------------------------------------------------------------------------------
$Links['DOM'] =& $DOM;
#-------------------------------------------------------------------------------
if (Is_Error($DOM->Load('Base'))) {
return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$DOM->AddAttribs('MenuLeft', array('args' => 'Administrator/AddIns'));
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
$DOM->AddText('Title', 'Дополнения → Импорт данных');
#-------------------------------------------------------------------------------
$Table = array();
#-------------------------------------------------------------------------------
$Comp = Comp_Load('Upload', 'DataImport');
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:DataImport.comp.php
示例13: Permission_Check
case 'array':
#---------------------------------------------------------------------------
$__USER = $GLOBALS['__USER'];
#---------------------------------------------------------------------------
$IsPermission = Permission_Check('ProfileRead', (int) $__USER['ID'], (int) $Profile['UserID']);
#---------------------------------------------------------------------------
switch (ValueOf($IsPermission)) {
case 'error':
return ERROR | @Trigger_Error(500);
case 'exception':
return ERROR | @Trigger_Error(400);
case 'false':
return ERROR | @Trigger_Error(700);
case 'true':
#-----------------------------------------------------------------------
$DOM = new DOM();
#-----------------------------------------------------------------------
$Links =& Links();
# Коллекция ссылок
$Links['DOM'] =& $DOM;
#-----------------------------------------------------------------------
if (Is_Error($DOM->Load('Window'))) {
return ERROR | @Trigger_Error(500);
}
#-----------------------------------------------------------------------
$DOM->AddText('Title', 'Профиль');
#-----------------------------------------------------------------------
$Table = array('Общая информация');
#-----------------------------------------------------------------------
$Comp = Comp_Load('Formats/Profile/Number', $Profile['ID']);
if (Is_Error($Comp)) {
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:ProfileInfo.comp.php
示例14: switch
#-------------------------------------------------------------------------------
switch (ValueOf($IsPermission)) {
case 'error':
return ERROR | @Trigger_Error(500);
case 'exception':
return ERROR | @Trigger_Error(400);
case 'false':
return ERROR | @Trigger_Error(700);
case 'true':
break;
default:
return ERROR | @Trigger_Error(101);
}
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
$DOM = new DOM();
#-------------------------------------------------------------------------------
$Links =& Links();
#-------------------------------------------------------------------------------
# Коллекция ссылок
$Links['DOM'] =& $DOM;
#-------------------------------------------------------------------------------
if (Is_Error($DOM->Load('Window'))) {
return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$Number = Comp_Load('Formats/Order/Number', $ISPswOrder['OrderID']);
if (Is_Error($Number)) {
return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:ISPswOrderInfo.comp.php
示例15: Permission_Check
$IsPermission = Permission_Check('ExtraIPOrdersRead', (int) $__USER['ID'], (int) $ExtraIPOrder['UserID']);
#-------------------------------------------------------------------------------
switch (ValueOf($IsPermission)) {
case 'error':
return ERROR | @Trigger_Error(500);
case 'exception':
return ERROR | @Trigger_Error(400);
case 'false':
return ERROR | @Trigger_Error(700);
case 'true':
break;
default:
return ERROR | @Trigger_Error(101);
}
#-------------------------------------------------------------------------------
$DOM = new DOM();
#-------------------------------------------------------------------------------
$Links =& Links();
#-------------------------------------------------------------------------------
# Коллекция ссылок
$Links['DOM'] =& $DOM;
#-------------------------------------------------------------------------------
if (Is_Error($DOM->Load('Window'))) {
return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$DOM->AddText('Title', SPrintF('Заказ IP адреса %s', $ExtraIPOrder['Login']));
#-------------------------------------------------------------------------------
$Table = array('Общая информация');
#-------------------------------------------------------------------------------
$Comp = Comp_Load('Formats/Order/Number', $ExtraIPOrder['OrderID']);
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:ExtraIPOrderInfo.comp.php
示例16: PhpInfo
}
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
/**
* Gets PHP info if requested.
*/
if (isset($_GET['PHPINFO'])) {
#-------------------------------------------------------------------------------
PhpInfo();
#-------------------------------------------------------------------------------
exit;
#-------------------------------------------------------------------------------
}
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
$DOM = new DOM();
#-------------------------------------------------------------------------------
$Links =& Links();
# Коллекция ссылок
$Links['DOM'] =& $DOM;
#-------------------------------------------------------------------------------
if (Is_Error($DOM->Load('Base'))) {
return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$DOM->AddText('Title', 'Домашняя страница');
#-------------------------------------------------------------------------------
$__MESSAGES =& $GLOBALS['__MESSAGES'];
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
if (IS_DEBUG) {
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:Home.comp.php
示例17: DB_Select
$ContractID = (int) @$Args['ContractID'];
#-------------------------------------------------------------------------------
if (Is_Error(System_Load('modules/Authorisation.mod', 'classes/DOM.class.php'))) {
return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$Contract = DB_Select('Contracts', array('ID', 'UserID', 'Balance'), array('UNIQ', 'ID' => $ContractID));
#-------------------------------------------------------------------------------
switch (ValueOf($Contract)) {
case 'error':
return ERROR | @Trigger_Error(500);
case 'exception':
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', 'Осуществить финансовую проводку');
#-------------------------------------------------------------------------------
$Comp = Comp_Load('Form/Input', array('name' => 'ContractID', 'type' => 'hidden', 'value' => $Contract['ID']));
if (Is_Error($Comp)) {
return ERROR | @Trigger_Error(500);
}
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:PostingMake.comp.php
示例18: eval
/******************************************************************************/
eval(COMP_INIT);
/******************************************************************************/
/******************************************************************************/
$Args = Args();
#-------------------------------------------------------------------------------
$ContractID = (string) @$Args['ContractID'];
$VPSSchemeID = (int) @$Args['VPSSchemeID'];
$StepID = (int) @$Args['StepID'];
$DiskTemplate = (string) @$Args['DiskTemplate'];
#-------------------------------------------------------------------------------
if (Is_Error(System_Load('modules/Authorisation.mod', 'classes/DOM.class.php', 'libs/WhoIs.php'))) {
return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$DOM = new DOM();
#-------------------------------------------------------------------------------
$Links =& Links();
# Коллекция ссылок
$Links['DOM'] =& $DOM;
#-------------------------------------------------------------------------------
if (Is_Error($DOM->Load('Base'))) {
return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$DOM->AddAttribs('MenuLeft', array('args' => 'User/Services'));
#-------------------------------------------------------------------------------
$DOM->AddText('Title', 'Заказ виртуального сервера');
#-------------------------------------------------------------------------------
$Script = new Tag('SCRIPT', array('type' => 'text/javascript', 'src' => 'SRC:{Js/Pages/Order.js}'));
#-------------------------------------------------------------------------------
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:VPSOrder.comp.php
示例19: Debug
$StepID = (int) @$Args['StepID'];
#-------------------------------------------------------------------------------
if (Is_Error(System_Load('modules/Authorisation.mod', 'classes/DOM.class.php'))) {
return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
Debug(SPrintF('[comp/www/InvoiceMake]: StepID = %u', $StepID));
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
$Config = Config();
#-------------------------------------------------------------------------------
$Settings = $Config['Interface']['User']['InvoiceMake'];
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
$DOM = new DOM();
#-------------------------------------------------------------------------------
$Links =& Links();
# Коллекция ссылок
$Links['DOM'] =& $DOM;
#-------------------------------------------------------------------------------
if (Is_Error($DOM->Load('Window'))) {
return ERROR | @Trigger_Error(500);
}
#-------------------------------------------------------------------------------
$DOM->AddText('Title', 'Новый счёт');
#-------------------------------------------------------------------------------
$Form = new Tag('FORM', array('name' => 'InvoiceMakeForm', 'onsubmit' => 'return false;'));
#-------------------------------------------------------------------------------
$Table = array();
#-------------------------------------------------------------------------------
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:InvoiceMake.comp.php
示例20: DOM
return ERROR | @Trigger_Error(700);
case 'true':
break;
default:
return ERROR | @Trigger_Error(101);
}
#-------------------------------------------------------------------------------
break;
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
default:
return ERROR | @Trigger_Error(101);
}
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
$DOM = new DOM();
#---------------------------------------------------------------------------
$Links =& Links();
# Коллекция ссылок
$Links['DOM'] =& $DOM;
#---------------------------------------------------------------------------
if (Is_Error($DOM->Load('Window'))) {
return ERROR | @Trigger_Error(500);
}
#---------------------------------------------------------------------------
$DOM->AddText('Title', SPrintF('Передача заказа "%s", #%s на другой аккаунт биллинга', $Service['NameShort'], isset($Order['OrderID']) ? $Order['OrderID'] : $ServiceOrderID));
#---------------------------------------------------------------------------
#-------------------------------------------------------------------------------
$Table = array();
#---------------------------------------------------------------------------
$Comp = Comp_Load('Form/Input', array('type' => 'text', 'name' => 'Email', 'size' => 30, 'value' => '', 'prompt' => 'Почтовый адрес (логин в биллинге) пользователя'));
开发者ID:carriercomm,项目名称:jbs,代码行数:31,代码来源:OrdersTransfer.comp.php
注:本文中的DOM类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论