Property | Type | Description | |
---|---|---|---|
$sortable | boolean | Flag to toggle the drag and drop sorting controls for widgets. |
Property | Type | Description | |
---|---|---|---|
$items | array | ||
$user | OEWebUser |
Method | Description | |
---|---|---|
__construct ( array $items = null, OEWebUser $user = null ) | ||
getItemPosition ( $item ) : integer | null | Gets the position for an item in the render list. | |
render ( ) : mixed | Renders the HTML snippet of the Dashboard. |
Method | Description | |
---|---|---|
getNextItemPosition ( ) : integer | Calculates the next position index to use for a rendered item. | |
moduleRender ( &$renders, $item ) | ||
objRender ( &$renders, $item ) | ||
renderItems ( ) |
public __construct ( array $items = null, OEWebUser $user = null ) | ||
$items | array | expected to be of the form:
[
[
'module' => 'ModuleName',
'restricted' => |
$user | OEWebUser |
public getItemPosition ( $item ) : integer | null | ||
$item | ||
return | integer | null |
protected getNextItemPosition ( ) : integer | ||
return | integer |
public bool $sortable | ||
return | boolean |