|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
GUI class for personal bookmark administration. More...
Collaboration diagram for ilBookmarkAdministrationGUI:Public Member Functions | |
| ilBookmarkAdministrationGUI () | |
| Constructor @access public. More... | |
| & | executeCommand () |
| execute command More... | |
| executeAction () | |
| getMode () | |
| return display mode flat or tree More... | |
| explorer () | |
| output explorer tree with bookmark folders More... | |
| displayHeader () | |
| display header and locator More... | |
| view () | |
| add_cell ($val, $link="") | |
| output a cell in object list More... | |
| displayLocator () | |
| display locator More... | |
| newForm ($type) | |
| new form More... | |
| newFormBookmarkFolder () | |
| display new bookmark folder form More... | |
| editFormBookmarkFolder () | |
| display edit bookmark folder form More... | |
| newFormBookmark () | |
| display new bookmark form More... | |
| get_last ($a_var, $a_value) | |
| get stored post var in case of an error/warning otherwise return passed value More... | |
| editFormBookmark () | |
| display edit bookmark form More... | |
| createBookmarkFolder () | |
| create new bookmark folder in db More... | |
| updateBookmarkFolder () | |
| update bookmark folder More... | |
| createBookmark () | |
| create new bookmark in db More... | |
| updateBookmark () | |
| update bookmark in db More... | |
| export ($deliver=true) | |
| export bookmarks More... | |
| sendmail () | |
| send bookmarks as attachment More... | |
| delete () | |
| display deletion conformation screen More... | |
| cancel () | |
| cancel deletion,insert, update More... | |
| confirm () | |
| deletion confirmed -> delete folders / bookmarks More... | |
| showPossibleSubObjects () | |
| display subobject addition selection More... | |
| getHTML () | |
| Get Bookmark list for personal desktop. More... | |
| importFile () | |
| imports a bookmark file into database display status information or report errors messages in case of error @access public More... | |
| __importBookmarks (&$objects, &$num_create, $folder_id, $start_key=0) | |
| creates the bookmarks and folders More... | |
| move () | |
| confirmedMove () | |
Data Fields | |
| $user_id | |
| $ilias | |
| $tpl | |
| $lng | |
| $tree | |
| $id | |
| $data | |
| $textwidth = 100 | |
Private Member Functions | |
| initFormBookmarkFolder ($action='createBookmarkFolder') | |
| init bookmark folder create/edit form More... | |
| initFormBookmark ($action='createBookmark') | |
| init Bookmark create/edit form More... | |
| initImportBookmarksForm () | |
| Init import bookmark form. More... | |
GUI class for personal bookmark administration.
It manages folders and bookmarks with the help of the two corresponding core classes ilBookmarkFolder and ilBookmark. Their methods are called in this User Interface class.
@ilCtrl_Calls ilBookmarkAdministrationGUI:
Definition at line 19 of file class.ilBookmarkAdministrationGUI.php.
| ilBookmarkAdministrationGUI::__importBookmarks | ( | & | $objects, |
| & | $num_create, | ||
| $folder_id, | |||
$start_key = 0 |
|||
| ) |
creates the bookmarks and folders
| array | array of objects |
| array | stores the number of created objects |
| folder_id | id where to store the bookmarks |
| start_key | key of the objects array where to start @access private |
Definition at line 973 of file class.ilBookmarkAdministrationGUI.php.
References __importBookmarks().
Referenced by __importBookmarks(), and importFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookmarkAdministrationGUI::add_cell | ( | $val, | |
$link = "" |
|||
| ) |
output a cell in object list
Definition at line 194 of file class.ilBookmarkAdministrationGUI.php.
| ilBookmarkAdministrationGUI::cancel | ( | ) |
cancel deletion,insert, update
Definition at line 808 of file class.ilBookmarkAdministrationGUI.php.
References view().
Here is the call graph for this function:| ilBookmarkAdministrationGUI::confirm | ( | ) |
deletion confirmed -> delete folders / bookmarks
Definition at line 816 of file class.ilBookmarkAdministrationGUI.php.
References $_POST, $id, $tree, ilBookmark\_getTypeOfId(), ilUtil\sendSuccess(), and view().
Here is the call graph for this function:| ilBookmarkAdministrationGUI::confirmedMove | ( | ) |
Definition at line 1034 of file class.ilBookmarkAdministrationGUI.php.
References $_REQUEST, $ilUser, $tree, ilUtil\sendFailure(), ilUtil\sendSuccess(), and view().
Here is the call graph for this function:| ilBookmarkAdministrationGUI::createBookmark | ( | ) |
create new bookmark in db
Definition at line 609 of file class.ilBookmarkAdministrationGUI.php.
References $_POST, $ilCtrl, $lng, newFormBookmark(), ilUtil\sendFailure(), ilUtil\sendInfo(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilBookmarkAdministrationGUI::createBookmarkFolder | ( | ) |
create new bookmark folder in db
Definition at line 543 of file class.ilBookmarkAdministrationGUI.php.
References $_POST, $ilCtrl, newFormBookmarkFolder(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilBookmarkAdministrationGUI::delete | ( | ) |
display deletion conformation screen
Definition at line 748 of file class.ilBookmarkAdministrationGUI.php.
References $_GET, $_POST, ilBookmark\_getTypeOfId(), ilUtil\getImageTagByType(), and ilUtil\shortenText().
Here is the call graph for this function:| ilBookmarkAdministrationGUI::displayHeader | ( | ) |
display header and locator
Definition at line 149 of file class.ilBookmarkAdministrationGUI.php.
References displayLocator(), ilUtil\infoPanel(), and ilUtil\sendInfo().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookmarkAdministrationGUI::displayLocator | ( | ) |
display locator
Definition at line 214 of file class.ilBookmarkAdministrationGUI.php.
References $lng, $path, and $row.
Referenced by displayHeader().
Here is the caller graph for this function:| ilBookmarkAdministrationGUI::editFormBookmark | ( | ) |
display edit bookmark form
Definition at line 513 of file class.ilBookmarkAdministrationGUI.php.
References $_GET, $ilCtrl, $lng, and initFormBookmark().
Referenced by updateBookmark().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookmarkAdministrationGUI::editFormBookmarkFolder | ( | ) |
display edit bookmark folder form
Definition at line 350 of file class.ilBookmarkAdministrationGUI.php.
References $_GET, get_last(), and initFormBookmarkFolder().
Referenced by updateBookmarkFolder().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookmarkAdministrationGUI::executeAction | ( | ) |
Definition at line 101 of file class.ilBookmarkAdministrationGUI.php.
References $_POST, export(), sendmail(), and view().
Here is the call graph for this function:| & ilBookmarkAdministrationGUI::executeCommand | ( | ) |
execute command
Definition at line 81 of file class.ilBookmarkAdministrationGUI.php.
References $cmd, displayHeader(), explorer(), and getMode().
Here is the call graph for this function:| ilBookmarkAdministrationGUI::explorer | ( | ) |
output explorer tree with bookmark folders
Definition at line 133 of file class.ilBookmarkAdministrationGUI.php.
References $tpl.
Referenced by executeCommand().
Here is the caller graph for this function:| ilBookmarkAdministrationGUI::export | ( | $deliver = true | ) |
export bookmarks
Definition at line 686 of file class.ilBookmarkAdministrationGUI.php.
References $_GET, $_POST, $id, ilBookmarkImportExport\_exportBookmark(), and ilUtil\deliverData().
Referenced by executeAction(), and sendmail().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookmarkAdministrationGUI::get_last | ( | $a_var, | |
| $a_value | |||
| ) |
get stored post var in case of an error/warning otherwise return passed value
Definition at line 503 of file class.ilBookmarkAdministrationGUI.php.
References $_POST, and ilUtil\prepareFormOutput().
Referenced by editFormBookmarkFolder().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookmarkAdministrationGUI::getHTML | ( | ) |
Get Bookmark list for personal desktop.
Definition at line 918 of file class.ilBookmarkAdministrationGUI.php.
| ilBookmarkAdministrationGUI::getMode | ( | ) |
return display mode flat or tree
Definition at line 125 of file class.ilBookmarkAdministrationGUI.php.
Referenced by executeCommand().
Here is the caller graph for this function:| ilBookmarkAdministrationGUI::ilBookmarkAdministrationGUI | ( | ) |
Constructor @access public.
| integer | user_id (optional) |
Definition at line 47 of file class.ilBookmarkAdministrationGUI.php.
| ilBookmarkAdministrationGUI::importFile | ( | ) |
imports a bookmark file into database display status information or report errors messages in case of error @access public
Definition at line 932 of file class.ilBookmarkAdministrationGUI.php.
References __importBookmarks(), ilBookmarkImportExport\_parseFile(), newFormBookmark(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and view().
Here is the call graph for this function:
|
private |
init Bookmark create/edit form
| string | form action type; valid values: createBookmark, updateBookmark |
Definition at line 377 of file class.ilBookmarkAdministrationGUI.php.
References $_GET, $ilCtrl, $ilUser, and $lng.
Referenced by editFormBookmark(), and newFormBookmark().
Here is the caller graph for this function:
|
private |
init bookmark folder create/edit form
| string | form action type; valid values: createBookmark, updateBookmark |
Definition at line 306 of file class.ilBookmarkAdministrationGUI.php.
References $_GET, $ilCtrl, $ilUser, and $lng.
Referenced by editFormBookmarkFolder(), and newFormBookmarkFolder().
Here is the caller graph for this function:
|
private |
Init import bookmark form.
Definition at line 457 of file class.ilBookmarkAdministrationGUI.php.
References $ilCtrl, $ilUser, and $lng.
Referenced by newFormBookmark().
Here is the caller graph for this function:| ilBookmarkAdministrationGUI::move | ( | ) |
Definition at line 1010 of file class.ilBookmarkAdministrationGUI.php.
References $_GET, $_REQUEST, $ilUser, $tpl, ilUtil\sendFailure(), ilUtil\sendInfo(), and view().
Here is the call graph for this function:| ilBookmarkAdministrationGUI::newForm | ( | $type | ) |
new form
Definition at line 271 of file class.ilBookmarkAdministrationGUI.php.
References $_POST, newFormBookmark(), and newFormBookmarkFolder().
Here is the call graph for this function:| ilBookmarkAdministrationGUI::newFormBookmark | ( | ) |
display new bookmark form
Definition at line 486 of file class.ilBookmarkAdministrationGUI.php.
References $_REQUEST, $html1, $html2, initFormBookmark(), and initImportBookmarksForm().
Referenced by createBookmark(), importFile(), and newForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookmarkAdministrationGUI::newFormBookmarkFolder | ( | ) |
display new bookmark folder form
Definition at line 290 of file class.ilBookmarkAdministrationGUI.php.
References initFormBookmarkFolder().
Referenced by createBookmarkFolder(), and newForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookmarkAdministrationGUI::sendmail | ( | ) |
send bookmarks as attachment
Definition at line 721 of file class.ilBookmarkAdministrationGUI.php.
References $filename, $ilUser, export(), ilMailFormCall\getRedirectTarget(), ilUtil\ilTempnam(), and ilUtil\redirect().
Referenced by executeAction().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookmarkAdministrationGUI::showPossibleSubObjects | ( | ) |
display subobject addition selection
Definition at line 872 of file class.ilBookmarkAdministrationGUI.php.
References $_SESSION, and ilUtil\formSelect().
Here is the call graph for this function:| ilBookmarkAdministrationGUI::updateBookmark | ( | ) |
update bookmark in db
Definition at line 650 of file class.ilBookmarkAdministrationGUI.php.
References $_GET, $_POST, editFormBookmark(), ilUtil\sendFailure(), ilUtil\stripSlashes(), and view().
Here is the call graph for this function:| ilBookmarkAdministrationGUI::updateBookmarkFolder | ( | ) |
update bookmark folder
Definition at line 577 of file class.ilBookmarkAdministrationGUI.php.
References $_GET, $_POST, $ilCtrl, editFormBookmarkFolder(), ilUtil\sendFailure(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilBookmarkAdministrationGUI::view | ( | ) |
Definition at line 167 of file class.ilBookmarkAdministrationGUI.php.
References ilBookmarkFolder\getObjects().
Referenced by cancel(), confirm(), confirmedMove(), executeAction(), importFile(), move(), and updateBookmark().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookmarkAdministrationGUI::$data |
Definition at line 39 of file class.ilBookmarkAdministrationGUI.php.
| ilBookmarkAdministrationGUI::$id |
Definition at line 38 of file class.ilBookmarkAdministrationGUI.php.
| ilBookmarkAdministrationGUI::$ilias |
Definition at line 33 of file class.ilBookmarkAdministrationGUI.php.
Referenced by ilBookmarkAdministrationGUI().
| ilBookmarkAdministrationGUI::$lng |
Definition at line 35 of file class.ilBookmarkAdministrationGUI.php.
Referenced by createBookmark(), displayLocator(), editFormBookmark(), ilBookmarkAdministrationGUI(), initFormBookmark(), initFormBookmarkFolder(), and initImportBookmarksForm().
| ilBookmarkAdministrationGUI::$textwidth = 100 |
Definition at line 40 of file class.ilBookmarkAdministrationGUI.php.
| ilBookmarkAdministrationGUI::$tpl |
Definition at line 34 of file class.ilBookmarkAdministrationGUI.php.
Referenced by explorer(), ilBookmarkAdministrationGUI(), and move().
| ilBookmarkAdministrationGUI::$tree |
Definition at line 37 of file class.ilBookmarkAdministrationGUI.php.
Referenced by confirm(), and confirmedMove().
| ilBookmarkAdministrationGUI::$user_id |
Definition at line 26 of file class.ilBookmarkAdministrationGUI.php.