프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$sortable | boolean | Flag to toggle the drag and drop sorting controls for widgets. |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$items | array | ||
$user | OEWebUser |
메소드 | 설명 | |
---|---|---|
__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. |
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | integer | null |
protected getNextItemPosition ( ) : integer | ||
리턴 | integer |
public bool $sortable | ||
리턴 | boolean |