Answer the question
In order to leave comments, you need to log in
Computed role in AccessControl?
Hi friends!
I have a permissions check in the controller:
[
'allow' => true,
'actions' => ['callcenter'],
'roles' => ['admin', 'Operator', 'Dispatcher'],
],
User::isLeader()
(returns bool) Answer the question
In order to leave comments, you need to log in
<option <?= $_SESSION['AAA'] ?> value="CCC" >CCCCCCCCC</option>
foreach ($_POST['docs'] as $v ){
$_SESSION[$v] = 'SELECTED';
echo "SESSION['{$v}'] = ".$_SESSION[$v]."<br>";
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question