← All built-ins / ui_check_set()
ui_check_set()
ui_check_set(...$args): int
Parameters
| Name | Type | Description |
|---|---|---|
| $handle | int | checkbox handle |
| $checked | bool | new state |
Return value
Sets the checkbox state.
Example
echo "ui_check_set($cb, true);";
ui_check_set($cb, true);
This call needs a real environment (window, server, database or stdin) — the snippet above shows the typical usage shape.