ImPS_Elements_Checkbox

class ImPS_Elements_Checkbox($checked, $pos_x, $pos_y)

Attention

This class is not intended to be initialized directly.

Note

This class inherits from Baseclass for Elements and Panels.

Parameters:
  • $checked ([bool]) - The state of the Checkbox (Ticked/Unticked).

  • $pos_x ([int]) - Its X position.

  • $pos_y ([int]) - Its Y position.

Attributes:
Returns:
get_checked()
Parameters:

None

Returns:
  • [bool]

set_checked($checked)
Parameters:
  • $checked ([bool]) - The state of the Checkbox (Ticked/Unticked).

Returns: