Method | Description | |
---|---|---|
__construct ( string $id ) | Create a new widget | |
init ( ) | Perform instance initialization after calling setup() | |
is_valid_attach ( ) : boolean | Perform checks whether the container should be attached during the current request | |
render ( ) | Output the container markup | |
to_json ( boolean $load ) : array | Returns an array that holds the container data, suitable for JSON representation. |
public __construct ( string $id ) | ||
$id | string | Unique ID of the widget |
public is_valid_attach ( ) : boolean | ||
return | boolean | True if the container is allowed to be attached |