PHP Class TagListTheme, shimmie2

Inheritance: extends Themelet
Afficher le fichier Open project: shish/shimmie2 Class Usage Examples

Méthodes publiques

Свойство Type Description
$heading string
$list string | string[]
$navigation

Méthodes publiques

Méthode 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 )

Méthodes protégées

Méthode 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 méthode

protected ars ( string $tag, string[] $tags ) : string
$tag string
$tags string[]
Résultat string

display_page() public méthode

public display_page ( Page $page )
$page Page

display_refine_block() public méthode

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

return_tag() public méthode

public return_tag ( $row, $tag_category_dict )

set_heading() public méthode

public set_heading ( string $text )
$text string

set_navigation() public méthode

public set_navigation ( $nav )

set_tag_list() public méthode

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

Property Details

$heading public_oe property

public string $heading
Résultat string

$list public_oe property

public string|string[] $list
Résultat string | string[]

$navigation public_oe property

public $navigation