Dotclear 2.24
Loading...
Searching...
No Matches
tplBlogroll Class Reference

Static Public Member Functions

static blogroll ($attr)
 
static blogrollXbelLink ($attr)
 
static getList (string $cat_title='< h3 >%s</h3 >', string $block='< ul >%s</ul >', string $item='< li >%s</li >', ?string $category=null)
 

Member Function Documentation

◆ blogroll()

static blogroll (   $attr)
static

tpl:Blogroll [attributes] : Displays the blogroll (tpl value)

attributes:

 - category    string      Category title pattern (default to \<h3>%s\</h3>)
 - block       string      Block pattern (default to \<ul>%s\</ul>)
 - item        string      Item pattern (default to \<li%2$s>%1$s\</li>)
Parameters
ArrayObject$attrThe attributes
Returns
string

◆ blogrollXbelLink()

static blogrollXbelLink (   $attr)
static

tpl:BlogrollXbelLink [attributes] : Displays XBEL URL (tpl value)

attributes:

 - any filters     See self::getFilters()
Parameters
ArrayObject$attrThe attributes
Returns
string

References dcCore\app().

◆ getList()

static getList ( string  $cat_title = '<h3>%s</h3>',
string  $block = '<ul>%s</ul>',
string  $item = '<li>%s</li>',
?string  $category = null 
)
static

Gets the full list (HTML).

Parameters
string$cat_titleThe cat title pattern
string$blockThe block pattern
string$itemThe item pattern
string$categoryThe link category if given
Returns
string The list.

References dcCore\app(), and html\escapeHTML().

Referenced by linksWidget().


The documentation for this class was generated from the following file: