FusionDirectory
 All Data Structures Files Functions Variables
Public Member Functions
filter Class Reference

This class contains all the function needed to manage filter. More...

Public Member Functions

 __construct ($filename)
 Create a filter. More...
 
 getTextfield ($element)
 Get the text in the field. More...
 
 getCheckbox ($element)
 Get the checkbox. More...
 
 getCombobox ($element)
 Get a combobox. More...
 
 setComboBoxOptions ($tag, $options)
 Set the combobox options. More...
 
 setConverter ($field, $hook)
 Set a converter. More...
 
 setObjectStorage ($storage)
 Set a object storage. More...
 
 setBase ($base)
 Set a base. More...
 
 setCurrentScope ($scope)
 Set the current scope. More...
 
 renderAlphabet ($columns=10)
 Render alphabet. More...
 
 renderApply ()
 Render apply filter. More...
 
 renderScope ()
 Render scope. More...
 
 render ()
 Render.
 
 query ()
 Query.
 
 isValid ()
 Check if a filter is valid. More...
 
 update ()
 Update.
 
 getCompletitionList ($cfg, $tag, $value="*")
 Get competition list. More...
 
 processAutocomplete ()
 Auto complete.
 

Detailed Description

This class contains all the function needed to manage filter.

Definition at line 30 of file class_filter.inc.

Constructor & Destructor Documentation

__construct (   $filename)

Create a filter.

Parameters
string$filename

Definition at line 54 of file class_filter.inc.

Member Function Documentation

getCheckbox (   $element)

Get the checkbox.

Parameters
array$element

Definition at line 184 of file class_filter.inc.

Referenced by render().

getCombobox (   $element)

Get a combobox.

Parameters
array$element

Definition at line 201 of file class_filter.inc.

References getCompletitionList().

Referenced by render().

getCompletitionList (   $cfg,
  $tag,
  $value = "*" 
)

Get competition list.

Parameters
string$config
string$tag
string$value

Definition at line 548 of file class_filter.inc.

Referenced by getCombobox(), and processAutocomplete().

getTextfield (   $element)

Get the text in the field.

Parameters
array$element

Definition at line 147 of file class_filter.inc.

Referenced by render().

isValid ( )

Check if a filter is valid.

Returns
TRUE if is valid, FALSE otherwise

Definition at line 495 of file class_filter.inc.

Referenced by simpleManagement\execute().

renderAlphabet (   $columns = 10)

Render alphabet.

Parameters
integer$columns

Definition at line 298 of file class_filter.inc.

References validate().

Referenced by render().

renderApply ( )

Render apply filter.

Returns
string

Definition at line 341 of file class_filter.inc.

Referenced by render().

renderScope ( )

Render scope.

Returns
string

Definition at line 351 of file class_filter.inc.

Referenced by render().

setBase (   $base)

Set a base.

Parameters
string$base

Definition at line 278 of file class_filter.inc.

Referenced by listing\setFilter(), and listing\update().

setComboBoxOptions (   $tag,
  $options 
)

Set the combobox options.

Parameters
string$tag
array$options

Definition at line 240 of file class_filter.inc.

setConverter (   $field,
  $hook 
)

Set a converter.

Parameters
string$field
string$hook

Definition at line 257 of file class_filter.inc.

setCurrentScope (   $scope)

Set the current scope.

Parameters
string$scope

Definition at line 288 of file class_filter.inc.

Referenced by listing\getAction().

setObjectStorage (   $storage)

Set a object storage.

Parameters
string$storage

Definition at line 267 of file class_filter.inc.


The documentation for this class was generated from the following file: