Powered by MediaWiki
Personal tools

Tag item publish link

From b2evolution manual

Jump to: navigation, search

Display link to publish a post if user has edit rights.

[edit] Example

$Item->publish_link( $before = ' ', $after = ' ', $text = '#', $title = '#', $class = '', $glue = '&', $save_context = true );

[edit] Parameters

Name Default Usage
before (1 space) String to display before link.
after (1 space) String to display after link.
text '#' Link text. If it is '#' then regular text will be displayed.
title '#' Link title/alt. If it is '#' then regular title will be displayed.
class (no space) CSS class for the link.
glue '&' Glue between URL parameters.
save_context true True if save content and publish.

[edit] Return value

This tag displays content only, it does not have a return value.