[eZ publish] fetch_alias() and fetch()
When going through the manual, we can know that, fetch_alias() can be thought of as a configuration-file based version of the fetch() operator.
But the fetch_alias() must be defined in configuration override for "fetchalias.ini",
Module=module_name
FunctionName=function_name
Parameter[parameter1]=fetch_alias_name1
Parameter[parameter2]=fetch_alias_name2
...
Constant[parameter3]=<any value>
Constant[parameter4]=<any value>
...
Directive |
Description |
---|---|
Module |
The name of the target module (for example "content"). |
FunctionName |
The name of the target fetch function (for example "list"). |
Parameter |
The "Parameters" array may be used to specify variables that will beset in the template(s). The "parameter_name" maps to the parameter nameused in normal fetch functions. The "fetch_alias_name" will be theparameter name used in the template(s). |
Constant |
Parameters that are defined as constants within the regular fetch function(s). |
For example:
Configuration block:
Module=content
FunctionName=object
Parameter[object_id]=id
Template code:
We can consider it Template code to be as follow:
"content",
"object",
hash(
"object_id", 1
)
)
}
More details, please click to view: http://ez.no/doc/ez_publish/technical_manual/4_x/reference/template_functions/miscellaneous/fetch_alias
[eZ publish] fetch_alias() and fetch()相关推荐
- eZ Publish 的 Site.INI文件的中文翻译
Site.INI文件的中文翻译 #?ini charset="iso-8859-1"? # eZ publish 配置文件 # 注意:并不建议直接修改这个文件,最好是写一个这个文件 ...
- eZ publish 3 安装指南
eZ publish 3 安装指南 --------------------- 这个文档包括如何安装eZ publish 3到windows,Linux和freeBSD的快速安装指南. 请吧有关这个安 ...
- eZ Publish 的文章
eZ Publish 的文章 http://www.irmagic.com/irphoto_f ... 0dac&forumid=10 eZ的部分文章翻译 eZ publish 3 READM ...
- CMS 平台: Drupal, eZ Publish, WordPress, CMS Made Simple 横向比较
世界上没有最好的 CMS,只有最适合的,最近的 DrupalCamp 大会在芬兰赫尔辛基召开,一家叫 Exove 当地公司提供了一个演示,对四大 CMS 平台,Drupal , WordPress , ...
- eZ Publish 2013.4 发布,CMS 内容管理系统
eZ Publish 2013.4 修复了 60 个bug,62 个 pull-request 合并和两个增强. eZ publish是一个专业的开源内容管理系统(CMS)和一个开发框架(CMF).作 ...
- app.publish_获取eZ Publish 5.x以便在Homestead上工作的13个步骤
app.publish I have since taken another look at eZ Publish (now eZ Platform) and things have improved ...
- symfony框架_为什么我们放弃传统的Symfony框架
symfony框架 一个成功的组织为什么要抛弃一个拥有活跃的开发人员社区的优秀开源Web开发平台? 这就是我要讲的故事. 如果您不熟悉eZ Systems的名称,请允许我们自我介绍:eZ是商业开源软件 ...
- 开源之旅之开源企业软件采购指南
开源之旅之开源企业软件采购指南 ( 2006-02-06 10:31:09) [导读]:从开源数据库.应用服务器,到开源的Web服务器,我们已经带您领略开源软件世界的旖旎风光.此次的"开 ...
- sublime text plugins
Sublime Text 插件,HTML+CSS+JAVASCRIPT+JSON快速格式化: htmlpretty 快捷键:Ctrl+Shift+H Essential Sublime Text 2 ...
最新文章
- SMRT single molecular real time Sequencing
- VS与Win7 共舞:用户界面特权隔离
- linux下防火墙iptables原理及使用
- c#网页自动化脚本语言,c# – 创建用于创建网页的脚本语言
- 私人心情录小程序源码
- git上传项目全部流程
- 如何更换清华源_树莓派中国软件源
- VS2017 修改文件编码为UTF-8的插件
- 【jQuery笔记Part2】05-jQuery自定义动画
- EasyUI权限(二星权限)
- Java 对Oracle数据库中的 BLOB类型 插入图片
- php adodb 统计,php之adodb简介
- Axure RP入门知识-基础功能介绍
- Mac10.14版本安装虚拟机Parallels Desktop 14和windows7 64位旗舰版镜像
- 反相器有时候为了强调低电平有效,将反相器的图形符号中的小圆圈画在输入端,如数电中的画法。有时候小圆圈在前面只表示低电平有效,没有反相的意思,例如与非门组成的RS触发器
- Java菜鸟逆袭之基础语法上
- 深度学习系列文章之一:电脑配置选择
- Linux,你了解多少!
- 【深度学习】神经网络的学习过程
- 一文看懂!百度对话系统PLATO家族
热门文章
- Spring Boot+HATEOAS快速介绍与示例
- [设计模式-行为型]备忘录模式(Memento)
- Teamcenter 2007之错误信息提示
- [微博]页面table 闪动问题解决
- 自己动手写Docker系列 -- 5.3实现logs命令查看容器日志
- Soul网关源码阅读(六)请求类型探索
- 人工智能用python还是java_人工智能选择python还是java语言
- elasticsearch6 php,elasticsearch 6.x php-client
- java实现n选m组合数_求组合数m_n
- 使用Dwr时出现java.lang.SecurityException: Access to debug pages is denied