LimeSurvey API - Master branch

TokenEmptyGridFilter extends CFormModel
in package

Class TokenEmptyGridFilter

Lightweight form model used as the filter for the empty participant grid shown before the participant table exists. The real grid filters with TokenDynamic, but that model can't be instantiated without a physical table. This model just needs to expose the grid's column names as attributes so CGridView can render the standard filter inputs. The inputs are only presentational here — there's no data to filter yet.

Table of Contents

Properties

$attributeNamesList  : array<string|int, string>
$attributeValues  : array<string, mixed>

Methods

__construct()  : mixed
__get()  : mixed
__isset()  : mixed
__set()  : mixed
attributeNames()  : mixed
rules()  : mixed

Properties

$attributeNamesList

private array<string|int, string> $attributeNamesList = array()

ordered attribute names

$attributeValues

private array<string, mixed> $attributeValues = array()

attribute name => value

Methods

__construct()

public __construct(array<string|int, string> $attributeNames) : mixed
Parameters
$attributeNames : array<string|int, string>

the grid column names to expose as filterable attributes

__set()

public __set(mixed $name, mixed $value) : mixed
Parameters
$name : mixed
$value : mixed
Tags
inheritdoc

        
On this page

Search results