PHP Class TagListTheme, shimmie2

Inheritance: extends Themelet
显示文件 Open project: shish/shimmie2 Class Usage Examples

Public Properties

Property Type Description
$heading string
$list string | string[]
$navigation

Public Methods

Method Description
display_page ( Page $page )
display_popular_block ( Page $page, $tag_infos ) * $tag_infos = array( array('tag' => $tag, 'count' => $number_of_uses), .
display_refine_block ( Page $page, $tag_infos, $search ) * $tag_infos = array( array('tag' => $tag), .
display_related_block ( Page $page, $tag_infos ) * $tag_infos = array( array('tag' => $tag, 'count' => $number_of_uses), .
display_split_related_block ( Page $page, $tag_infos ) * $tag_infos = array( array('tag' => $tag, 'count' => $number_of_uses), .
return_tag ( $row, $tag_category_dict )
set_heading ( string $text )
set_navigation ( $nav )
set_tag_list ( string | string[] $list )

Protected Methods

Method Description
ars ( string $tag, string[] $tags ) : string
get_add_link ( array $tags, string $tag ) : string
get_remove_link ( array $tags, string $tag ) : string
get_subtract_link ( array $tags, string $tag ) : string
tag_link ( string $tag ) : string

Method Details

ars() protected method

protected ars ( string $tag, string[] $tags ) : string
$tag string
$tags string[]
return string

display_page() public method

public display_page ( Page $page )
$page Page

display_refine_block() public method

.. ) $search = the current array of tags being searched for
public display_refine_block ( Page $page, $tag_infos, $search )
$page Page

return_tag() public method

public return_tag ( $row, $tag_category_dict )

set_heading() public method

public set_heading ( string $text )
$text string

set_navigation() public method

public set_navigation ( $nav )

set_tag_list() public method

public set_tag_list ( string | string[] $list )
$list string | string[]

Property Details

$heading public_oe property

public string $heading
return string

$list public_oe property

public string|string[] $list
return string | string[]

$navigation public_oe property

public $navigation