Powered by MediaWiki
Personal tools

Tag item msgform link assigned

From b2evolution manual

Jump to: navigation, search

This tag is useful when workflow is turned on for a blog.

[edit] Example

<?php
  $Item->msgform_link_assigned( $form_url, $before = ' ', $after = ' ', $text = '#', $title = '#', $class = '' );
?>

[edit] Parameters

Name Default Usage
form_url none URL of the message form.
before (1 space) Displayed before link.
after (1 space) Displayed after link.
text '#' Link text. If 'text' => '#' then regular link text will be displayed.
title '#' Link title. If 'title' => '#' then regular link title will be displayed.
class (no space) CSS class name.

[edit] 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.