- b2evolution CMS User Manual
- Developer Reference
- Website Skins/Themes
- Skin Tags / API
- Item Tags
- Template Tag: Item Msgform Link Assigned
Template Tag: Item Msgform Link Assigned
Provide link to message form for this Item’s assigned User.
This tag is useful when workflow is turned on for a collection.
== Example ==
<?php $Item->msgform_link_assigned( $form_url, $before = ' ', $after = ' ', $text = '#', $title = '#', $class = '' ); ?>
== Parameters ==
* Name: form_url
* Default: none
* Usage: URL of the message form.
* Name: before
* Default: (1 space)
* Usage: Displayed before link.
* Name: after
* Default: (1 space)
* Usage: Displayed after link.
* Name: text
* Default: ‘#’
* Usage: Link text. If ‘text’ => ‘#’ then regular link text will be displayed.
* Name: title
* Default: ‘#’
* Usage: Link title. If ‘title’ => ‘#’ then regular link title will be displayed.
* Name: class
* Default: (no space)
* Usage: CSS class name.
== Return value ==
This function return false, if there is no email address for the assigned User.
If there is email address then this function return true and displays content.