SproutCMS

This is the code documentation for the SproutCMS project

function addWidget()

Add a refine widget

Usage

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

Arguments

  1. RefineWidget $widget
    Refinement widget to add
  2. string $operator = NULL
    Operator for WHERE clause, e.g. '=' or 'CONTAINS'
        The available values are the operators for Pdb::buildClause
        The value null indicates "auto-guess", which is CONTAINS for strings and = for integers

Return value

  • void