PHP 클래스 Habari\AdminTagsHandler

상속: extends AdminHandler
파일 보기 프로젝트 열기: habari/system

공개 메소드들

메소드 설명
__construct ( )
ajax_tags ( ) Handles AJAX from /admin/tags Used to search for, delete and rename tags
filter_facets ( array $facets ) : array Plugin hook filter for the facet list
filter_facetvalues ( array $values, string $facet, string $q ) : array Plugin hook filter for the values of a faceted search
get_tag_listitems ( ) Generate FormUI checkboxes wrapped in listitems for the tag collection. Is used with and without AJAX
get_tags ( ) Handle GET requests for /admin/tags to display the tags.
post_tags ( ) Handle POST requests for /admin/tags
process_tags ( FormUI $form ) Handles submitted tag forms and processes tag actions

메소드 상세

__construct() 공개 메소드

public __construct ( )

ajax_tags() 공개 메소드

Handles AJAX from /admin/tags Used to search for, delete and rename tags
public ajax_tags ( )

filter_facets() 공개 정적인 메소드

Plugin hook filter for the facet list
public static filter_facets ( array $facets ) : array
$facets array An array of facets for the current faceted search
리턴 array The array of facets

filter_facetvalues() 공개 정적인 메소드

Plugin hook filter for the values of a faceted search
public static filter_facetvalues ( array $values, string $facet, string $q ) : array
$values array The incoming array of values for this facet
$facet string The selected facet
$q string A string filter for facet values
리턴 array The returned list of possible values

get_tag_listitems() 공개 메소드

Generate FormUI checkboxes wrapped in listitems for the tag collection. Is used with and without AJAX
public get_tag_listitems ( )

get_tags() 공개 메소드

Handle GET requests for /admin/tags to display the tags.
public get_tags ( )

post_tags() 공개 메소드

Handle POST requests for /admin/tags
public post_tags ( )

process_tags() 공개 메소드

Handles submitted tag forms and processes tag actions
public process_tags ( FormUI $form )
$form FormUI The tag form