Test on standard filter implementation.
More...
Test on standard filter implementation.
Definition at line 80 of file StandardFilterTest.php.
◆ buildButtonFactory()
| StandardFilterTest::buildButtonFactory |
( |
| ) |
|
|
protected |
◆ buildFactory()
| StandardFilterTest::buildFactory |
( |
| ) |
|
|
protected |
Definition at line 82 of file StandardFilterTest.php.
82 : I\Input\Container\Filter\Factory
84 return new I\Input\Container\Filter\Factory(
85 new I\SignalGenerator(),
◆ buildInputFactory()
| StandardFilterTest::buildInputFactory |
( |
| ) |
|
|
protected |
Definition at line 90 of file StandardFilterTest.php.
90 : I\Input\Field\Factory
92 $df =
new Data\Factory();
93 $language = $this->createMock(
ILIAS\Language\Language::class);
94 return new I\Input\Field\Factory(
96 new I\SignalGenerator(),
Interface Observer Contains several chained tasks and infos about them.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
◆ buildLegacyFactory()
| StandardFilterTest::buildLegacyFactory |
( |
| ) |
|
|
protected |
◆ buildListingFactory()
| StandardFilterTest::buildListingFactory |
( |
| ) |
|
|
protected |
◆ buildPopoverFactory()
| StandardFilterTest::buildPopoverFactory |
( |
| ) |
|
|
protected |
◆ buildSymbolFactory()
| StandardFilterTest::buildSymbolFactory |
( |
| ) |
|
|
protected |
◆ getUIFactory()
| StandardFilterTest::getUIFactory |
( |
| ) |
|
◆ testDedicatedNames()
| StandardFilterTest::testDedicatedNames |
( |
| ) |
|
Definition at line 695 of file StandardFilterTest.php.
References Vendor\Package\$f, and ILIAS\UI\Implementation\Component\Input\$inputs.
700 $if->text(
"Title")->withDedicatedName(
'title'),
701 $if->select(
"Selection", [
"one" =>
"One",
"two" =>
"Two",
"three" =>
"Three"])->withDedicatedName(
'selection'),
702 $if->multiSelect(
"Multi Selection", [
"one" =>
"Num One",
"two" =>
"Num Two",
"three" =>
"Num Three"])
704 $filter =
$f->standard(
717 $inputs = $filter->getInputs();
718 $this->assertEquals(
'filter_input_0/title',
$inputs[0]->getName());
719 $this->assertEquals(
'filter_input_0/selection',
$inputs[1]->getName());
720 $this->assertEquals(
'filter_input_0/filter_input_1',
$inputs[2]->getName());
◆ testRenderActivatedCollapsed()
| StandardFilterTest::testRenderActivatedCollapsed |
( |
| ) |
|
Definition at line 143 of file StandardFilterTest.php.
References Vendor\Package\$f, ILIAS\UI\Implementation\Component\Input\$inputs, $r, ILIAS\UI\examples\Symbol\Glyph\Apply\apply(), WithNoUIFactories\button(), ILIAS\UI\examples\Symbol\Glyph\Collapse\collapse(), ILIAS\UI\examples\Symbol\Glyph\Expand\expand(), ILIAS\Repository\filter(), ILIAS\Repository\form(), and NoUIFactory\input().
149 $if->select(
"Selection", [
"one" =>
"One",
"two" =>
"Two",
"three" =>
"Three"]),
150 $if->multiSelect(
"Multi Selection", [
"one" =>
"Num One",
"two" =>
"Num Two",
"three" =>
"Num Three"])
152 $inputs_rendered = [
true,
false,
true];
154 $filter =
$f->standard(
167 $r = $this->getDefaultRenderer();
168 $html =
$r->render($filter);
171 <div
class=
"il-filter enabled" id=
"id_1">
172 <
form class=
"c-form il-standard-form form-horizontal" enctype=
"multipart/form-data" method=
"get" data-cmd-
expand=
"#" data-cmd-
collapse=
"#" data-cmd-
apply=
"#" data-cmd-toggleOn=
"#" data-cmd-toggleOff=
"#">
173 <div
class=
"il-filter-bar">
174 <div
class=
"il-filter-bar-opener">
175 <
button type=
"button" aria-expanded=
"false" aria-controls=
"active_inputs_id_1 section_inputs_id_1" id=
"opener_id_1">
177 <span data-collapse-glyph-visibility=
"0">
178 <a
class=
"glyph" aria-label=
"collapse_content">
179 <span
class=
"glyphicon glyphicon-triangle-bottom" aria-hidden=
"true"></span>
182 <span data-expand-glyph-visibility=
"1">
183 <a
class=
"glyph" aria-label=
"expand_content">
184 <span
class=
"glyphicon glyphicon-triangle-right" aria-hidden=
"true"></span>
190 <div
class=
"il-filter-bar-toggle">
191 <div
class=
"il-toggle-item">
192 <
button class=
"il-toggle-button on" id=
"id_4" aria-pressed=
"false">
193 <span
class=
"il-toggle-label-on">toggle_on</span>
194 <span
class=
"il-toggle-label-off">toggle_off</span>
195 <span
class=
"il-toggle-switch"></span>
200 <div
class=
"il-filter-inputs-active clearfix" id=
"active_inputs_id_1" aria-labelledby=
"opener_id_1" data-active-inputs-expanded=
"1">
205 <div
class=
"il-filter-input-section row" id=
"section_inputs_id_1" aria-labelledby=
"opener_id_1" data-section-inputs-expanded=
"0">
206 <div
class=
"col-md-6 col-lg-4 il-popover-container">
207 <div
class=
"input-group">
208 <label
for=
"id_5" class=
"input-group-addon leftaddon">
Title</label>
209 <input
id=
"id_5" type=
"text" name=
"filter_input_0/filter_input_1" class=
"c-field-text" />
210 <span
class=
"input-group-addon rightaddon">
211 <a
class=
"glyph" href=
"" aria-label=
"remove" id=
"id_6">
212 <span
class=
"glyphicon glyphicon-minus-sign" aria-hidden=
"true"></span>
217 <div
class=
"col-md-6 col-lg-4 il-popover-container">
218 <div
class=
"input-group">
219 <label
for=
"id_7" class=
"input-group-addon leftaddon">Selection</label>
220 <select
id=
"id_7" name=
"filter_input_0/filter_input_2">
221 <option selected=
"selected" value=
"">-</option>
222 <option value=
"one">One</option>
223 <option value=
"two">Two</option>
224 <option value=
"three">Three</option>
226 <span
class=
"input-group-addon rightaddon">
227 <a
class=
"glyph" href=
"" aria-label=
"remove" id=
"id_8">
228 <span
class=
"glyphicon glyphicon-minus-sign" aria-hidden=
"true"></span>
233 <div
class=
"col-md-6 col-lg-4 il-popover-container">
234 <div
class=
"input-group">
235 <label
class=
"input-group-addon leftaddon">
Multi Selection</label>
236 <span role=
"button" tabindex=
"0" class=
"form-control il-filter-field" id=
"id_11" data-placement=
"bottom"></span>
237 <div
class=
"il-standard-popover-content" style=
"display:none;" id=
"id_9"></div>
238 <span
class=
"input-group-addon rightaddon">
239 <a
class=
"glyph" href=
"" aria-label=
"remove" id=
"id_12">
240 <span
class=
"glyphicon glyphicon-minus-sign" aria-hidden=
"true"></span>
245 <div
class=
"col-md-6 col-lg-4 il-popover-container">
246 <div
class=
"input-group">
247 <
button class=
"btn btn-bulky" id=
"id_18">
248 <span
class=
"glyph" aria-label=
"add" role=
"img">
249 <span
class=
"glyphicon glyphicon-plus-sign" aria-hidden=
"true"></span>
251 <span
class=
"bulky-label"></span>
254 <div
class=
"il-standard-popover-content" style=
"display:none;" id=
"id_16"></div>
256 <div
class=
"il-filter-controls">
257 <
button class=
"btn btn-bulky" data-action=
"" id=
"id_2">
258 <span
class=
"glyph" role=
"img">
259 <span
class=
"glyphicon glyphicon-apply" aria-hidden=
"true"></span>
261 <span
class=
"bulky-label">apply</span>
263 <
button class=
"btn btn-bulky" data-action=
"#" id=
"id_3">
264 <span
class=
"glyph" role=
"img">
265 <span
class=
"glyphicon glyphicon-reset" aria-hidden=
"true"></span>
267 <span
class=
"bulky-label">reset</span>
271 <input
class=
"il-filter-field-status" type=
"hidden" name=
"__filter_status_0" value=
"1" />
272 <input
class=
"il-filter-field-status" type=
"hidden" name=
"__filter_status_1" value=
"0" />
273 <input
class=
"il-filter-field-status" type=
"hidden" name=
"__filter_status_2" value=
"1" />
278 $this->assertHTMLEquals($this->brutallyTrimHTML($expected), $this->brutallyTrimHTML($html));
apply()
description: > Example for rendring a apply glyph.
button(string $caption, string $cmd)
collapse()
description: > Example for rendering a collapse glyph.
form( $class_path, string $cmd, string $submit_caption="")
expand()
description: > Example for rendering an expand glyph.
filter(string $filter_id, $class_path, string $cmd, bool $activated=true, bool $expanded=true)
◆ testRenderActivatedExpanded()
| StandardFilterTest::testRenderActivatedExpanded |
( |
| ) |
|
Definition at line 419 of file StandardFilterTest.php.
References Vendor\Package\$f, ILIAS\UI\Implementation\Component\Input\$inputs, $r, ILIAS\UI\examples\Symbol\Glyph\Apply\apply(), WithNoUIFactories\button(), ILIAS\UI\examples\Symbol\Glyph\Collapse\collapse(), ILIAS\UI\examples\Symbol\Glyph\Expand\expand(), ILIAS\Repository\filter(), ILIAS\Repository\form(), and NoUIFactory\input().
425 $if->select(
"Selection", [
"one" =>
"One",
"two" =>
"Two",
"three" =>
"Three"]),
426 $if->multiSelect(
"Multi Selection", [
"one" =>
"Num One",
"two" =>
"Num Two",
"three" =>
"Num Three"])
428 $inputs_rendered = [
true,
false,
true];
430 $filter =
$f->standard(
443 $r = $this->getDefaultRenderer();
444 $html =
$r->render($filter);
447 <div
class=
"il-filter enabled" id=
"id_1">
448 <
form class=
"c-form il-standard-form form-horizontal" enctype=
"multipart/form-data" method=
"get" data-cmd-
expand=
"#" data-cmd-
collapse=
"#" data-cmd-
apply=
"#" data-cmd-toggleOn=
"#" data-cmd-toggleOff=
"#">
449 <div
class=
"il-filter-bar">
450 <div
class=
"il-filter-bar-opener">
451 <
button type=
"button" aria-expanded=
"true" aria-controls=
"active_inputs_id_1 section_inputs_id_1" id=
"opener_id_1">
453 <span data-collapse-glyph-visibility=
"1">
454 <a
class=
"glyph" aria-label=
"collapse_content">
455 <span
class=
"glyphicon glyphicon-triangle-bottom" aria-hidden=
"true"></span>
458 <span data-expand-glyph-visibility=
"0">
459 <a
class=
"glyph" aria-label=
"expand_content">
460 <span
class=
"glyphicon glyphicon-triangle-right" aria-hidden=
"true"></span>
466 <div
class=
"il-filter-bar-toggle">
467 <div
class=
"il-toggle-item">
468 <
button class=
"il-toggle-button on" id=
"id_4" aria-pressed=
"false">
469 <span
class=
"il-toggle-label-on">toggle_on</span>
470 <span
class=
"il-toggle-label-off">toggle_off</span>
471 <span
class=
"il-toggle-switch"></span>
476 <div
class=
"il-filter-inputs-active clearfix" id=
"active_inputs_id_1" aria-labelledby=
"opener_id_1" data-active-inputs-expanded=
"0">
481 <div
class=
"il-filter-input-section row" id=
"section_inputs_id_1" aria-labelledby=
"opener_id_1" data-section-inputs-expanded=
"1">
482 <div
class=
"col-md-6 col-lg-4 il-popover-container">
483 <div
class=
"input-group">
484 <label
for=
"id_5" class=
"input-group-addon leftaddon">
Title</label>
485 <input
id=
"id_5" type=
"text" name=
"filter_input_0/filter_input_1" class=
"c-field-text" />
486 <span
class=
"input-group-addon rightaddon">
487 <a
class=
"glyph" href=
"" aria-label=
"remove" id=
"id_6">
488 <span
class=
"glyphicon glyphicon-minus-sign" aria-hidden=
"true"></span>
493 <div
class=
"col-md-6 col-lg-4 il-popover-container">
494 <div
class=
"input-group">
495 <label
for=
"id_7" class=
"input-group-addon leftaddon">Selection</label>
496 <select
id=
"id_7" name=
"filter_input_0/filter_input_2">
497 <option selected=
"selected" value=
"">-</option>
498 <option value=
"one">One</option>
499 <option value=
"two">Two</option>
500 <option value=
"three">Three</option>
502 <span
class=
"input-group-addon rightaddon">
503 <a
class=
"glyph" href=
"" aria-label=
"remove" id=
"id_8">
504 <span
class=
"glyphicon glyphicon-minus-sign" aria-hidden=
"true"></span>
509 <div
class=
"col-md-6 col-lg-4 il-popover-container">
510 <div
class=
"input-group">
511 <label
class=
"input-group-addon leftaddon">
Multi Selection</label>
512 <span role=
"button" tabindex=
"0" class=
"form-control il-filter-field" id=
"id_11" data-placement=
"bottom"></span>
513 <div
class=
"il-standard-popover-content" style=
"display:none;" id=
"id_9"></div>
514 <span
class=
"input-group-addon rightaddon">
515 <a
class=
"glyph" href=
"" aria-label=
"remove" id=
"id_12">
516 <span
class=
"glyphicon glyphicon-minus-sign" aria-hidden=
"true"></span>
521 <div
class=
"col-md-6 col-lg-4 il-popover-container">
522 <div
class=
"input-group">
523 <
button class=
"btn btn-bulky" id=
"id_18">
524 <span
class=
"glyph" aria-label=
"add" role=
"img">
525 <span
class=
"glyphicon glyphicon-plus-sign" aria-hidden=
"true"></span>
527 <span
class=
"bulky-label"></span>
530 <div
class=
"il-standard-popover-content" style=
"display:none;" id=
"id_16"></div>
532 <div
class=
"il-filter-controls">
533 <
button class=
"btn btn-bulky" data-action=
"" id=
"id_2">
534 <span
class=
"glyph" role=
"img">
535 <span
class=
"glyphicon glyphicon-apply" aria-hidden=
"true"></span>
537 <span
class=
"bulky-label">apply</span>
539 <
button class=
"btn btn-bulky" data-action=
"#" id=
"id_3">
540 <span
class=
"glyph" role=
"img">
541 <span
class=
"glyphicon glyphicon-reset" aria-hidden=
"true"></span>
543 <span
class=
"bulky-label">reset</span>
547 <input
class=
"il-filter-field-status" type=
"hidden" name=
"__filter_status_0" value=
"1" />
548 <input
class=
"il-filter-field-status" type=
"hidden" name=
"__filter_status_1" value=
"0" />
549 <input
class=
"il-filter-field-status" type=
"hidden" name=
"__filter_status_2" value=
"1" />
554 $this->assertHTMLEquals($this->brutallyTrimHTML($expected), $this->brutallyTrimHTML($html));
apply()
description: > Example for rendring a apply glyph.
button(string $caption, string $cmd)
collapse()
description: > Example for rendering a collapse glyph.
form( $class_path, string $cmd, string $submit_caption="")
expand()
description: > Example for rendering an expand glyph.
filter(string $filter_id, $class_path, string $cmd, bool $activated=true, bool $expanded=true)
◆ testRenderDeactivatedCollapsed()
| StandardFilterTest::testRenderDeactivatedCollapsed |
( |
| ) |
|
Definition at line 281 of file StandardFilterTest.php.
References Vendor\Package\$f, ILIAS\UI\Implementation\Component\Input\$inputs, $r, ILIAS\UI\examples\Symbol\Glyph\Apply\apply(), WithNoUIFactories\button(), ILIAS\UI\examples\Symbol\Glyph\Collapse\collapse(), ILIAS\UI\examples\Symbol\Glyph\Expand\expand(), ILIAS\Repository\filter(), ILIAS\Repository\form(), and NoUIFactory\input().
287 $if->select(
"Selection", [
"one" =>
"One",
"two" =>
"Two",
"three" =>
"Three"]),
288 $if->multiSelect(
"Multi Selection", [
"one" =>
"Num One",
"two" =>
"Num Two",
"three" =>
"Num Three"])
290 $inputs_rendered = [
true,
false,
true];
292 $filter =
$f->standard(
305 $r = $this->getDefaultRenderer();
306 $html =
$r->render($filter);
309 <div
class=
"il-filter disabled" id=
"id_1">
310 <
form class=
"c-form il-standard-form form-horizontal" enctype=
"multipart/form-data" method=
"get" data-cmd-
expand=
"#" data-cmd-
collapse=
"#" data-cmd-
apply=
"#" data-cmd-toggleOn=
"#" data-cmd-toggleOff=
"#">
311 <div
class=
"il-filter-bar">
312 <div
class=
"il-filter-bar-opener">
313 <
button type=
"button" aria-expanded=
"false" aria-controls=
"active_inputs_id_1 section_inputs_id_1" id=
"opener_id_1">
315 <span data-collapse-glyph-visibility=
"0">
316 <a
class=
"glyph" aria-label=
"collapse_content">
317 <span
class=
"glyphicon glyphicon-triangle-bottom" aria-hidden=
"true"></span>
320 <span data-expand-glyph-visibility=
"1">
321 <a
class=
"glyph" aria-label=
"expand_content">
322 <span
class=
"glyphicon glyphicon-triangle-right" aria-hidden=
"true"></span>
328 <div
class=
"il-filter-bar-toggle">
329 <div
class=
"il-toggle-item">
330 <
button class=
"il-toggle-button off" id=
"id_4" aria-pressed=
"false">
331 <span
class=
"il-toggle-label-on">toggle_on</span>
332 <span
class=
"il-toggle-label-off">toggle_off</span>
333 <span
class=
"il-toggle-switch"></span>
338 <div
class=
"il-filter-inputs-active clearfix" id=
"active_inputs_id_1" aria-labelledby=
"opener_id_1" data-active-inputs-expanded=
"1">
343 <div
class=
"il-filter-input-section row" id=
"section_inputs_id_1" aria-labelledby=
"opener_id_1" data-section-inputs-expanded=
"0">
344 <div
class=
"col-md-6 col-lg-4 il-popover-container">
345 <div
class=
"input-group">
346 <label
for=
"id_5" class=
"input-group-addon leftaddon">
Title</label>
347 <input
id=
"id_5" type=
"text" name=
"filter_input_0/filter_input_1" class=
"c-field-text" />
348 <span
class=
"input-group-addon rightaddon">
349 <a
class=
"glyph" href=
"" aria-label=
"remove" id=
"id_6">
350 <span
class=
"glyphicon glyphicon-minus-sign" aria-hidden=
"true"></span>
355 <div
class=
"col-md-6 col-lg-4 il-popover-container">
356 <div
class=
"input-group">
357 <label
for=
"id_7" class=
"input-group-addon leftaddon">Selection</label>
358 <select
id=
"id_7" name=
"filter_input_0/filter_input_2">
359 <option selected=
"selected" value=
"">-</option>
360 <option value=
"one">One</option>
361 <option value=
"two">Two</option>
362 <option value=
"three">Three</option>
364 <span
class=
"input-group-addon rightaddon">
365 <a
class=
"glyph" href=
"" aria-label=
"remove" id=
"id_8">
366 <span
class=
"glyphicon glyphicon-minus-sign" aria-hidden=
"true"></span>
371 <div
class=
"col-md-6 col-lg-4 il-popover-container">
372 <div
class=
"input-group">
373 <label
class=
"input-group-addon leftaddon">
Multi Selection</label>
374 <span role=
"button" tabindex=
"0" class=
"form-control il-filter-field" id=
"id_11" data-placement=
"bottom"></span>
375 <div
class=
"il-standard-popover-content" style=
"display:none;" id=
"id_9"></div>
376 <span
class=
"input-group-addon rightaddon">
377 <a
class=
"glyph" href=
"" aria-label=
"remove" id=
"id_12">
378 <span
class=
"glyphicon glyphicon-minus-sign" aria-hidden=
"true"></span>
383 <div
class=
"col-md-6 col-lg-4 il-popover-container">
384 <div
class=
"input-group">
385 <
button class=
"btn btn-bulky" id=
"id_18">
386 <span
class=
"glyph" aria-label=
"add" role=
"img">
387 <span
class=
"glyphicon glyphicon-plus-sign" aria-hidden=
"true"></span>
389 <span
class=
"bulky-label"></span>
392 <div
class=
"il-standard-popover-content" style=
"display:none;" id=
"id_16"></div>
394 <div
class=
"il-filter-controls">
395 <
button class=
"btn btn-bulky" data-action=
"" id=
"id_2">
396 <span
class=
"glyph" role=
"img">
397 <span
class=
"glyphicon glyphicon-apply" aria-hidden=
"true"></span>
399 <span
class=
"bulky-label">apply</span>
401 <
button class=
"btn btn-bulky" data-action=
"#" id=
"id_3">
402 <span
class=
"glyph" role=
"img">
403 <span
class=
"glyphicon glyphicon-reset" aria-hidden=
"true"></span>
405 <span
class=
"bulky-label">reset</span>
409 <input
class=
"il-filter-field-status" type=
"hidden" name=
"__filter_status_0" value=
"1" />
410 <input
class=
"il-filter-field-status" type=
"hidden" name=
"__filter_status_1" value=
"0" />
411 <input
class=
"il-filter-field-status" type=
"hidden" name=
"__filter_status_2" value=
"1" />
416 $this->assertHTMLEquals($this->brutallyTrimHTML($expected), $this->brutallyTrimHTML($html));
apply()
description: > Example for rendring a apply glyph.
button(string $caption, string $cmd)
collapse()
description: > Example for rendering a collapse glyph.
form( $class_path, string $cmd, string $submit_caption="")
expand()
description: > Example for rendering an expand glyph.
filter(string $filter_id, $class_path, string $cmd, bool $activated=true, bool $expanded=true)
◆ testRenderDeactivatedExpanded()
| StandardFilterTest::testRenderDeactivatedExpanded |
( |
| ) |
|
Definition at line 557 of file StandardFilterTest.php.
References Vendor\Package\$f, ILIAS\UI\Implementation\Component\Input\$inputs, $r, ILIAS\UI\examples\Symbol\Glyph\Apply\apply(), WithNoUIFactories\button(), ILIAS\UI\examples\Symbol\Glyph\Collapse\collapse(), ILIAS\UI\examples\Symbol\Glyph\Expand\expand(), ILIAS\Repository\filter(), ILIAS\Repository\form(), and NoUIFactory\input().
563 $if->select(
"Selection", [
"one" =>
"One",
"two" =>
"Two",
"three" =>
"Three"]),
564 $if->multiSelect(
"Multi Selection", [
"one" =>
"Num One",
"two" =>
"Num Two",
"three" =>
"Num Three"])
566 $inputs_rendered = [
true,
false,
true];
568 $filter =
$f->standard(
581 $r = $this->getDefaultRenderer();
582 $html =
$r->render($filter);
585 <div
class=
"il-filter disabled" id=
"id_1">
586 <
form class=
"c-form il-standard-form form-horizontal" enctype=
"multipart/form-data" method=
"get" data-cmd-
expand=
"#" data-cmd-
collapse=
"#" data-cmd-
apply=
"#" data-cmd-toggleOn=
"#" data-cmd-toggleOff=
"#">
587 <div
class=
"il-filter-bar">
588 <div
class=
"il-filter-bar-opener">
589 <
button type=
"button" aria-expanded=
"true" aria-controls=
"active_inputs_id_1 section_inputs_id_1" id=
"opener_id_1">
591 <span data-collapse-glyph-visibility=
"1">
592 <a
class=
"glyph" aria-label=
"collapse_content">
593 <span
class=
"glyphicon glyphicon-triangle-bottom" aria-hidden=
"true"></span>
596 <span data-expand-glyph-visibility=
"0">
597 <a
class=
"glyph" aria-label=
"expand_content">
598 <span
class=
"glyphicon glyphicon-triangle-right" aria-hidden=
"true"></span>
604 <div
class=
"il-filter-bar-toggle">
605 <div
class=
"il-toggle-item">
606 <
button class=
"il-toggle-button off" id=
"id_4" aria-pressed=
"false">
607 <span
class=
"il-toggle-label-on">toggle_on</span>
608 <span
class=
"il-toggle-label-off">toggle_off</span>
609 <span
class=
"il-toggle-switch"></span>
614 <div
class=
"il-filter-inputs-active clearfix" id=
"active_inputs_id_1" aria-labelledby=
"opener_id_1" data-active-inputs-expanded=
"0">
619 <div
class=
"il-filter-input-section row" id=
"section_inputs_id_1" aria-labelledby=
"opener_id_1" data-section-inputs-expanded=
"1">
620 <div
class=
"col-md-6 col-lg-4 il-popover-container">
621 <div
class=
"input-group">
622 <label
for=
"id_5" class=
"input-group-addon leftaddon">
Title</label>
623 <input
id=
"id_5" type=
"text" name=
"filter_input_0/filter_input_1" class=
"c-field-text" />
624 <span
class=
"input-group-addon rightaddon">
625 <a
class=
"glyph" href=
"" aria-label=
"remove" id=
"id_6">
626 <span
class=
"glyphicon glyphicon-minus-sign" aria-hidden=
"true"></span>
631 <div
class=
"col-md-6 col-lg-4 il-popover-container">
632 <div
class=
"input-group">
633 <label
for=
"id_7" class=
"input-group-addon leftaddon">Selection</label>
634 <select
id=
"id_7" name=
"filter_input_0/filter_input_2">
635 <option selected=
"selected" value=
"">-</option>
636 <option value=
"one">One</option>
637 <option value=
"two">Two</option>
638 <option value=
"three">Three</option>
640 <span
class=
"input-group-addon rightaddon">
641 <a
class=
"glyph" href=
"" aria-label=
"remove" id=
"id_8">
642 <span
class=
"glyphicon glyphicon-minus-sign" aria-hidden=
"true"></span>
647 <div
class=
"col-md-6 col-lg-4 il-popover-container">
648 <div
class=
"input-group">
649 <label
class=
"input-group-addon leftaddon">
Multi Selection</label>
650 <span role=
"button" tabindex=
"0" class=
"form-control il-filter-field" id=
"id_11" data-placement=
"bottom"></span>
651 <div
class=
"il-standard-popover-content" style=
"display:none;" id=
"id_9"></div>
652 <span
class=
"input-group-addon rightaddon">
653 <a
class=
"glyph" href=
"" aria-label=
"remove" id=
"id_12">
654 <span
class=
"glyphicon glyphicon-minus-sign" aria-hidden=
"true"></span>
659 <div
class=
"col-md-6 col-lg-4 il-popover-container">
660 <div
class=
"input-group">
661 <
button class=
"btn btn-bulky" id=
"id_18">
662 <span
class=
"glyph" aria-label=
"add" role=
"img">
663 <span
class=
"glyphicon glyphicon-plus-sign" aria-hidden=
"true"></span>
665 <span
class=
"bulky-label"></span>
668 <div
class=
"il-standard-popover-content" style=
"display:none;" id=
"id_16"></div>
670 <div
class=
"il-filter-controls">
671 <
button class=
"btn btn-bulky" data-action=
"" id=
"id_2">
672 <span
class=
"glyph" role=
"img">
673 <span
class=
"glyphicon glyphicon-apply" aria-hidden=
"true"></span>
675 <span
class=
"bulky-label">apply</span>
677 <
button class=
"btn btn-bulky" data-action=
"#" id=
"id_3">
678 <span
class=
"glyph" role=
"img">
679 <span
class=
"glyphicon glyphicon-reset" aria-hidden=
"true"></span>
681 <span
class=
"bulky-label">reset</span>
685 <input
class=
"il-filter-field-status" type=
"hidden" name=
"__filter_status_0" value=
"1" />
686 <input
class=
"il-filter-field-status" type=
"hidden" name=
"__filter_status_1" value=
"0" />
687 <input
class=
"il-filter-field-status" type=
"hidden" name=
"__filter_status_2" value=
"1" />
692 $this->assertHTMLEquals($this->brutallyTrimHTML($expected), $this->brutallyTrimHTML($html));
apply()
description: > Example for rendring a apply glyph.
button(string $caption, string $cmd)
collapse()
description: > Example for rendering a collapse glyph.
form( $class_path, string $cmd, string $submit_caption="")
expand()
description: > Example for rendering an expand glyph.
filter(string $filter_id, $class_path, string $cmd, bool $activated=true, bool $expanded=true)
The documentation for this class was generated from the following file: