Property | Type | Description | |
---|---|---|---|
$lister |
Method | Description | |
---|---|---|
__construct ( ProcessPageLister $lister ) | ||
buildBookmarkListForm ( ) : InputfieldForm | Build the bookmarks tab and form contained within it | |
editBookmark ( ) : string | Implementation for editing a bookmark, URL segment: ./edit-bookmark/?n=bookmarkID | |
getBookmarks ( ) : array | Get configured bookmarks allowed for current user |
Method | Description | |
---|---|---|
buildBookmarkEditForm ( integer $bookmarkID, array $bookmarks = [] ) : InputfieldWrapper | Build the form needed to edit/add bookmarks | |
saveBookmark ( ) | Save a bookmark posted by ./edit-bookmark/ |
public __construct ( ProcessPageLister $lister ) | ||
$lister | ProcessPageLister |
protected buildBookmarkEditForm ( integer $bookmarkID, array $bookmarks = [] ) : InputfieldWrapper | ||
$bookmarkID | integer | Specify bookmark ID if editing existing bookmark |
$bookmarks | array | Optionally include list of all bookmarks to prevent this method from having to re-load them |
return | InputfieldWrapper |
public buildBookmarkListForm ( ) : InputfieldForm | ||
return | InputfieldForm |
public editBookmark ( ) : string | ||
return | string |
public getBookmarks ( ) : array | ||
return | array |