limb2:en:template_system:tags:actions_tags:actions_tag
Содержание
Actions Tag and Component
Tag actions_tag
<actions> ...some content </actions>
Purpose
Generates a list of object's actions at runtime(JIP)
Scope
Inside any component which dataspace contains object actions.
Attributes
No.
Content
<actions:ITEM> tag and any decorating text or html.
Example
<fetch:MAPPED>
<actions>
<actions:ITEM>
<a href='{$action_href}' onclick="return click_href(this.href);">
<img src='{$img_src}' alt='{$action_name}' border=0 class=action>
</a><br>
</actions:ITEM>
</actions>
</fetch:MAPPED>
Component actions_component
Runtime component for the <actions> tag.
Methods
- set_actions($all_actions) – fills component dataspace with object's actions
- set_node_id($node_id) - sets current object node_id
- get_actions() – internal method used at runtime for properly processing actions list
limb2/en/template_system/tags/actions_tags/actions_tag.txt · Последнее изменение: 2010/11/10 10:02 — 127.0.0.1

Обсуждение