C# Class RockWeb.Blocks.Cms.UniversalSearch

Inheritance: Rock.Web.UI.RockBlockCustomSettings
Afficher le fichier Open project: NewSpring/Rock

Méthodes protégées

Méthode Description
Block_BlockUpdated ( object sender, EventArgs e ) : void

Handles the BlockUpdated event of the control.

OnInit ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Init event.

OnLoad ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Load event.

ShowSettings ( ) : void

Shows the settings.

btnSearch_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSearch control.

lbRefineSearch_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbRefineSearch control.

lbSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbSave control.

Private Methods

Méthode Description
BuildUrl ( int pageOffset ) : string

Builds the URL.

ConfigureSettings ( ) : void

Configures the settings.

ConfigureSmartSearchSettings ( ) : void

Configures the smart search settings.

GetFieldFilters ( List selectedEntities ) : List

Gets the field filters.

GetIndexFilterConfig ( Type entityType ) : ModelFieldFilterConfig

Gets the index filter configuration.

GetSearchEntities ( ) : List

Gets the search entities.

RedirectToDocument ( string documentType, string documentId ) : void

Redirects to document.

Search ( ) : void

Performs the search

SupportsIndexFieldFiltering ( Type entityType ) : bool

Supportses the index field filtering.

Method Details

Block_BlockUpdated() protected méthode

Handles the BlockUpdated event of the control.
protected Block_BlockUpdated ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

OnInit() protected méthode

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Résultat void

OnLoad() protected méthode

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
Résultat void

ShowSettings() protected méthode

Shows the settings.
protected ShowSettings ( ) : void
Résultat void

btnSearch_Click() protected méthode

Handles the Click event of the btnSearch control.
protected btnSearch_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

lbRefineSearch_Click() protected méthode

Handles the Click event of the lbRefineSearch control.
protected lbRefineSearch_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

lbSave_Click() protected méthode

Handles the Click event of the lbSave control.
protected lbSave_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void