SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class RefineBar

Provides the search refinement options in the admin UI

Variables

NameVisibilityDescription
$curr_group 
$field_ops 
$groups 
$widgets 

Functions

NameVisibilityDescription
addWidgetpublicAdd a refine widget
getpublicGets the bar
getGroupspublicReturn a list of search widgets, in groups
getOperatorpublicReturn the operator to use in WHERE clauses, for a given field
hasFieldpublicReturns true if any of the refine bar widgets refer to the specified field
renderpublicRenders the bar
setGrouppublic 

public addWidget

void $RefineBar->addWidget ( RefineWidget $widget [, string $operator ] );

Add a refine widget

public get

unknown $RefineBar->get ( );

Gets the bar

public getGroups

unknown $RefineBar->getGroups ( );

Return a list of search widgets, in groups

public getOperator

null|string $RefineBar->getOperator ( string $field_name );

Return the operator to use in WHERE clauses, for a given field

public hasField

unknown $RefineBar->hasField ( mixed $field_name );

Returns true if any of the refine bar widgets refer to the specified field

public render

void $RefineBar->render ( );

Renders the bar

public setGroup

void $RefineBar->setGroup ( mixed $name );

This function does not have a description