Файл filter.php

окно фильтров моделей Подробнее...

См. исходные тексты.

Переменные

if(!in_array($_GET['table'], Wrong\Database\Controller::$tables)) $initial
 
if($_GET['table']=='templates') $filter = isset($_SESSION['filter'][$_GET['table']]) ? $_SESSION['filter'][$_GET['table']] : $initial
 
if( $_GET[ 'table']=='templates')(~~this.dataset.checkedelse {$(this).html('снять все')
 
this dataset checked =1
 
this parents( 'form').find(' endif [name^ foreach($initial['type'] as $key) =type]').prop('checked', true);}$('#<?= $basename
 

Подробное описание

окно фильтров моделей

См. определение в файле filter.php

Переменные

◆ $filter

if ( $_GET[ 'table']=='templates') $filter = isset($_SESSION['filter'][$_GET['table']]) ? $_SESSION['filter'][$_GET['table']] : $initial

См. определение в файле filter.php строка 26

◆ $initial

if (!in_array( $_GET[ 'table'], Wrong\Database\Controller::$tables)) $initial
Инициализатор
= [
'act' => ['0', '1'],
'owner_group' => array_map('strval', array_column(Wrong\Rights\Group::$groups_owners, 'id')),
'groups' => array_map('strval', array_column(Wrong\Rights\Group::$groups_not_system, 'id'))
]

См. определение в файле filter.php строка 14

◆ checked

this dataset checked =1

См. определение в файле filter.php строка 53

◆ else

if ($_GET['table'] == 'templates') (~~this.dataset.checked) else {$(this).html('снять все')

См. определение в файле filter.php строка 53

◆ endif

this parents ('form').find(' endif[name^ foreach ( $initial[ 'type'] as $key) =type]').prop('checked', true);}$('#<?= $basename

См. определение в файле filter.php строка 63