Powered by MediaWiki
Personal tools

Tag item title

From b2evolution manual

Jump to: navigation, search

Display item's title and link to related URL.

[edit] Example

$Item->title( array(
     'before'    => '',
     'after'     => '',
     'format'    => 'htmlbody',
     'link_type' => 'none',
  ) );

[edit] Parameters

Name Default Usage
before (no space) Displayed before title.
after (no space) Displayed after title.
format 'htmlbody' Format to output. The following are available formats: 'htmlbody' or 'raw'
link_type 'none' If 'link_type' => 'none' then do not link title. The following are available values for 'link_type': 'auto', 'permalink', 'linkto_url', 'admin_view', 'none'

[edit] Return value

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