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


PHP ActionEdit::parse方法代码示例

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


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

示例1: parse

 /**
  * Parse the form
  */
 protected function parse()
 {
     parent::parse();
     // assign id, term
     $this->tpl->assign('id', $this->record['id']);
     $this->tpl->assign('term', $this->record['term']);
 }
开发者ID:forkcms,项目名称:forkcms,代码行数:10,代码来源:EditSynonym.php

示例2: parse

 /**
  * Parse the form
  */
 protected function parse()
 {
     parent::parse();
     $this->tpl->assign('product', $this->product);
     $this->tpl->assign('id', $this->id);
     $this->tpl->assign('item', $this->image);
 }
开发者ID:Comsa-Veurne,项目名称:modules,代码行数:10,代码来源:EditImage.php

示例3: parse

 /**
  * Parse the form
  */
 protected function parse()
 {
     parent::parse();
     $this->tpl->assign('item', $this->record);
     // delete allowed?
     $this->tpl->assign('showBlogDeleteCategory', BackendBlogModel::deleteCategoryAllowed($this->id) && BackendModel::createURLForAction('DeleteCategory'));
 }
开发者ID:bwgraves,项目名称:forkcms,代码行数:10,代码来源:EditCategory.php

示例4: parse

 /**
  * Parse the form
  */
 protected function parse()
 {
     parent::parse();
     // parse additional variables
     $this->tpl->assign('commentsRSSURL', SITE_URL . BackendModel::getURLForBlock($this->URL->getModule(), 'comments_rss'));
     $this->tpl->assign('isGod', $this->isGod);
 }
开发者ID:forkcms,项目名称:forkcms,代码行数:10,代码来源:Settings.php

示例5: parse

 /**
  * Parse the form
  */
 protected function parse()
 {
     parent::parse();
     // assign the data
     $this->tpl->assign('item', $this->record);
     $this->tpl->assign('showFaqDeleteCategory', BackendFaqModel::deleteCategoryAllowed($this->id) && BackendAuthentication::isAllowedAction('DeleteCategory'));
 }
开发者ID:bwgraves,项目名称:forkcms,代码行数:10,代码来源:EditCategory.php

示例6: parse

 /**
  * Parse the form
  */
 protected function parse()
 {
     parent::parse();
     // assign the data
     $this->tpl->assign('item', $this->record);
     $this->tpl->assign('fieldLanguages', $this->fieldLanguages);
 }
开发者ID:Comsa-Veurne,项目名称:modules,代码行数:10,代码来源:EditSpecification.php

示例7: parse

 /**
  * Parse the form
  *
  * @return  void
  */
 protected function parse()
 {
     parent::parse();
     $this->tpl->assign('id', $this->record['id']);
     $this->tpl->assign('title', $this->record['title']);
     // delete allowed?
     $this->tpl->assign('showSlideshowDeleteCategory', BackendSlideshowModel::deleteCategoryAllowed($this->id));
 }
开发者ID:bart-webleads,项目名称:fork-cms-module-slideshow,代码行数:13,代码来源:EditCategory.php

示例8: parse

 /**
  * Parse the form
  */
 protected function parse()
 {
     parent::parse();
     // parse form
     $this->frm->parse($this->tpl);
     // assign iteration
     $this->tpl->assign(array('modules' => $this->modules));
 }
开发者ID:forkcms,项目名称:forkcms,代码行数:11,代码来源:Settings.php

示例9: parse

 /**
  * Parse the form
  */
 protected function parse()
 {
     parent::parse();
     // assign the active record and additional variables
     $this->tpl->assign('mailing', $this->record);
     $this->tpl->assign('template', $this->template);
     // parse template content
     $this->parseTemplateContent();
 }
开发者ID:newaltcoin,项目名称:forkcms,代码行数:12,代码来源:EditMailingIframe.php

示例10: parse

 /**
  * Parse the form
  */
 protected function parse()
 {
     parent::parse();
     // assign the data
     $this->tpl->assign('item', $this->record);
     // is brand allowed to be deleted?
     if (BackendCatalogModel::isBrandAllowedToBeDeleted($this->id)) {
         $this->tpl->assign('showDelete', true);
     }
 }
开发者ID:Comsa-Veurne,项目名称:modules,代码行数:13,代码来源:EditBrand.php

示例11: parse

 /**
  * Parse the form
  *
  * @return void
  */
 protected function parse()
 {
     // call parent
     parent::parse();
     // assign the category
     $this->tpl->assign('category', $this->record);
     // can the category be deleted?
     if (BackendGalleriaModel::deleteCategoryAllowed($this->id)) {
         $this->tpl->assign('showDelete', true);
     }
 }
开发者ID:Brandberries,项目名称:forkcms-galleria,代码行数:16,代码来源:EditCategory.php

示例12: parse

 /**
  * Parse the page
  */
 protected function parse()
 {
     parent::parse();
     $this->tpl->assign('item', $this->record);
     $this->tpl->assign('iframe', BackendModel::createURLForAction('preview') . "&id=" . $this->id);
     // get url
     $url = BackendModel::getURLForBlock($this->URL->getModule(), 'detail');
     $url404 = BackendModel::getURL(404);
     if ($url404 != $url) {
         $this->tpl->assign('detailURL', SITE_URL . $url);
     }
 }
开发者ID:Comsa-Veurne,项目名称:modules,代码行数:15,代码来源:Edit.php

示例13: parse

 /**
  * Parse the page
  */
 protected function parse()
 {
     parent::parse();
     $this->header->addJS('edit.js');
     $this->tpl->assign('item', $this->record);
     // get url
     $url = BackendModel::getURLForBlock($this->URL->getModule(), 'Group');
     $url404 = BackendModel::getURL(404);
     if ($url404 != $url) {
         $this->tpl->assign('detailURL', SITE_URL . $url);
     }
 }
开发者ID:Comsa-Veurne,项目名称:modules,代码行数:15,代码来源:EditGroup.php

示例14: parse

 /**
  * Parse the form
  */
 protected function parse()
 {
     parent::parse();
     // assign the data
     $this->tpl->assign('item', $this->record);
     $this->tpl->assign('showFaqDeleteCategory', BackendFaqModel::deleteCategoryAllowed($this->id) && BackendAuthentication::isAllowedAction('DeleteCategory'));
     $url = BackendModel::getURLForBlock($this->URL->getModule(), 'Category');
     $url404 = BackendModel::getURL(404);
     if ($url404 != $url) {
         $this->tpl->assign('detailURL', SITE_URL . $url);
     }
 }
开发者ID:forkcms,项目名称:forkcms,代码行数:15,代码来源:EditCategory.php

示例15: parse

 /**
  * Parse the form
  */
 protected function parse()
 {
     parent::parse();
     // prevent XSS
     $filter = \SpoonFilter::arrayMapRecursive('htmlspecialchars', $this->filter);
     // parse filter
     $this->tpl->assign($filter);
     $this->tpl->assign('filterQuery', $this->filterQuery);
     // assign id, name
     $this->tpl->assign('name', $this->record['name']);
     $this->tpl->assign('id', $this->record['id']);
 }
开发者ID:newaltcoin,项目名称:forkcms,代码行数:15,代码来源:Edit.php


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