You are here

class FacetapiEmptyBehaviorNone in Facet API 6.3

Same name and namespace in other branches
  1. 7.2 plugins/facetapi/empty_behavior.inc \FacetapiEmptyBehaviorNone
  2. 7 plugins/facetapi/empty_behavior.inc \FacetapiEmptyBehaviorNone

Plugin that returns an empty array, meaning

Hierarchy

Expanded class hierarchy of FacetapiEmptyBehaviorNone

2 string references to 'FacetapiEmptyBehaviorNone'
facetapi_facetapi_empty_behaviors in ./facetapi.facetapi.inc
Implements hook_facetapi_empty_behaviors().
hook_facetapi_empty_behaviors in ./facetapi.api.php
Define all empty behavior plugins provided by the module.

File

plugins/facetapi/empty_behavior.inc, line 81
Base class for empty behaviors.

View source
class FacetapiEmptyBehaviorNone extends FacetapiEmptyBehavior {

  /**
   * Returns an empty array.
   */
  public function execute() {
    return array();
  }

}

Members

Namesort descending Modifiers Type Description Overrides
FacetapiEmptyBehavior::$configName protected property The machine readable name of facet configuration.
FacetapiEmptyBehavior::$settings protected property An array of facet settings.
FacetapiEmptyBehavior::getDefaultSettings public function Returns an array of default settings. 1
FacetapiEmptyBehavior::settingsForm public function Allows for backend specific overrides to the settings form. 1
FacetapiEmptyBehavior::translate public function Helper function for translating strings.
FacetapiEmptyBehavior::__construct public function Initializes settings. 1
FacetapiEmptyBehaviorNone::execute public function Returns an empty array. Overrides FacetapiEmptyBehavior::execute