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


PHP CAdminForm::EndPrologContent方法代码示例

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


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

示例1: show

 /**
  * Выводит детальную страницу
  * @internal
  */
 public function show()
 {
     $this->fillMenu();
     $context = new \CAdminContextMenu($this->menu);
     $context->Show();
     $this->tabControl->BeginPrologContent();
     $this->showMessages();
     $this->showProlog();
     $this->tabControl->EndPrologContent();
     $this->tabControl->BeginEpilogContent();
     $this->showEpilog();
     $this->tabControl->EndEpilogContent();
     $query = $this->additionalUrlParams;
     if (isset($_REQUEST[$this->pk()])) {
         $query[$this->pk()] = $_REQUEST[$this->pk()];
     }
     $this->tabControl->Begin(array('FORM_ACTION' => static::getEditPageURL($query)));
     foreach ($this->tabs as $tabSettings) {
         if ($tabSettings['VISIBLE']) {
             $this->showTabElements($tabSettings);
         }
     }
     $this->showEditPageButtons();
     $this->tabControl->ShowWarnings('editform', array());
     //TODO: дописать
     $this->tabControl->Show();
 }
开发者ID:Reprezo,项目名称:digitalwand.admin_helper,代码行数:31,代码来源:AdminEditHelper.php

示例2: show

 /**
  * {@inheritdoc}
  */
 public function show()
 {
     if (!$this->hasReadRights()) {
         $this->addErrors(Loc::getMessage('DIGITALWAND_ADMIN_HELPER_ACCESS_FORBIDDEN'));
         $this->showMessages();
         return false;
     }
     $context = new \CAdminContextMenu($this->getMenu());
     $context->Show();
     $this->tabControl->BeginPrologContent();
     $this->showMessages();
     $this->showProlog();
     $this->tabControl->EndPrologContent();
     $this->tabControl->BeginEpilogContent();
     $this->showEpilog();
     $this->tabControl->EndEpilogContent();
     $query = $this->additionalUrlParams;
     if (isset($_REQUEST[$this->pk()])) {
         $query[$this->pk()] = $_REQUEST[$this->pk()];
     } elseif (isset($_REQUEST['SECTION_ID']) && $_REQUEST['SECTION_ID']) {
         $model = $this->getModel();
         $this->data[$model::getSectionField()] = $_REQUEST['SECTION_ID'];
     }
     $this->tabControl->Begin(array('FORM_ACTION' => static::getUrl($query)));
     foreach ($this->tabs as $tabSettings) {
         if ($tabSettings['VISIBLE']) {
             $this->showTabElements($tabSettings);
         }
     }
     $this->showEditPageButtons();
     $this->tabControl->ShowWarnings('editform', array());
     //TODO: дописать
     $this->tabControl->Show();
 }
开发者ID:s-sementsov,项目名称:digitalwand.admin_helper,代码行数:37,代码来源:AdminEditHelper.php

示例3: bitrix_sessid_post

    $fields = $USER_FIELD_MANAGER->GetUserFields(CompanyTable::getUfId());
    foreach ($fields as $field) {
        $select[] = $field['FIELD_NAME'];
    }
    $params = array('select' => $select, 'filter' => $filter);
    $res = CompanyTable::getList($params);
    $company = $res->fetch();
}
if (!empty($errorMessage)) {
    CAdminMessage::ShowMessage($errorMessage);
}
$aTabs = array(array("DIV" => "edit1", "TAB" => GetMessage("COMPANY_TAB"), "ICON" => "catalog", "TITLE" => GetMessage("COMPANY_TAB_DESCR")));
$tabControl = new CAdminForm("company_edit", $aTabs);
$tabControl->BeginPrologContent();
echo $USER_FIELD_MANAGER->ShowScript();
$tabControl->EndPrologContent();
$tabControl->BeginEpilogContent();
echo bitrix_sessid_post();
?>
<input type="hidden" name="update" value="Y">
<input type="hidden" name="lang" value="<?php 
echo $lang;
?>
">
<input type="hidden" name="ID" value="<?php 
echo $id;
?>
">
<?php 
$tabControl->EndEpilogContent();
$tabControl->Begin(array("FORM_ACTION" => $APPLICATION->GetCurPage() . "?ID=" . $id . "&lang=" . $lang));
开发者ID:Satariall,项目名称:izurit,代码行数:31,代码来源:company_edit.php

示例4: GetFilterHiddens

    $coupon['USE_COUNT'] = (int) $coupon['USE_COUNT'];
    $coupon['MAX_USE'] = (int) $coupon['MAX_USE'];
    $coupon['USER_ID'] = (int) $coupon['USER_ID'];
    $coupon['DESCRIPTION'] = (string) $coupon['DESCRIPTION'];
} else {
    $coupon['COUNT'] = (int) $coupon['COUNT'];
    $coupon['COUPON']['DISCOUNT_ID'] = (int) $coupon['COUPON']['DISCOUNT_ID'];
    $coupon['COUPON']['TYPE'] = (int) $coupon['COUPON']['TYPE'];
    $coupon['COUPON']['MAX_USE'] = (int) $coupon['COUPON']['MAX_USE'];
}
if (!empty($errors)) {
    $coupon = array_merge($coupon, $fields);
}
$control->BeginPrologContent();
CJSCore::Init(array('date'));
$control->EndPrologContent();
$control->BeginEpilogContent();
echo GetFilterHiddens("filter_");
?>
<input type="hidden" name="Update" value="Y">
<input type="hidden" name="lang" value="<?php 
echo LANGUAGE_ID;
?>
">
<input type="hidden" name="ID" value="<?php 
echo $couponID;
?>
">
<?php 
if ($subWindow) {
    ?>
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:discount_coupon_edit.php


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