|
ILIAS
Release_3_10_x_branch Revision 61812
|
GUI class for personal bookmark administration. More...
Collaboration diagram for ilBookmarkAdministrationGUI:Public Member Functions | |
| ilBookmarkAdministrationGUI () | |
| Constructor public. | |
| & | executeCommand () |
| execute command | |
| executeAction () | |
| getMode () | |
| return display mode flat or tree | |
| explorer () | |
| output explorer tree with bookmark folders | |
| displayHeader () | |
| display header and locator | |
| view () | |
| add_cell ($val, $link="") | |
| output a cell in object list | |
| displayLocator () | |
| display locator | |
| newForm () | |
| new form | |
| newFormBookmarkFolder () | |
| display new bookmark folder form | |
| editFormBookmarkFolder () | |
| display edit bookmark folder form | |
| newFormBookmark () | |
| display new bookmark form | |
| get_last ($a_var, $a_value) | |
| get stored post var in case of an error/warning otherwise return passed value | |
| editFormBookmark () | |
| display edit bookmark form | |
| createBookmarkFolder () | |
| create new bookmark folder in db | |
| updateBookmarkFolder () | |
| update bookmark folder | |
| createBookmark () | |
| create new bookmark in db | |
| updateBookmark () | |
| update bookmark in db | |
| export ($deliver=true) | |
| export bookmarks | |
| sendmail () | |
| send bookmarks as attachment | |
| delete () | |
| display deletion conformation screen | |
| cancel () | |
| cancel deletion,insert, update | |
| confirm () | |
| deletion confirmed -> delete folders / bookmarks | |
| showPossibleSubObjects () | |
| display subobject addition selection | |
| & | getHTML () |
| Get Bookmark list for personal desktop. | |
| importFile () | |
| imports a bookmark file into database display status information or report errors messages in case of error | |
| __importBookmarks (&$objects, &$num_create, $folder_id, $start_key=0) | |
| creates the bookmarks and folders | |
Data Fields | |
| $user_id | |
| $ilias | |
| $tpl | |
| $lng | |
| $tree | |
| $id | |
| $data | |
| $textwidth = 100 | |
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.
Definition at line 42 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 private |
Definition at line 1068 of file class.ilBookmarkAdministrationGUI.php.
Referenced by importFile().
Here is the caller graph for this function:| ilBookmarkAdministrationGUI::add_cell | ( | $val, | |
$link = "" |
|||
| ) |
output a cell in object list
Definition at line 399 of file class.ilBookmarkAdministrationGUI.php.
| ilBookmarkAdministrationGUI::cancel | ( | ) |
cancel deletion,insert, update
Definition at line 902 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 911 of file class.ilBookmarkAdministrationGUI.php.
References $_SESSION, $id, $tree, ilUtil\sendInfo(), and view().
Here is the call graph for this function:| ilBookmarkAdministrationGUI::createBookmark | ( | ) |
create new bookmark in db
Definition at line 688 of file class.ilBookmarkAdministrationGUI.php.
References newFormBookmark(), ilUtil\sendInfo(), ilUtil\stripSlashes(), and view().
Here is the call graph for this function:| ilBookmarkAdministrationGUI::createBookmarkFolder | ( | ) |
create new bookmark folder in db
Definition at line 631 of file class.ilBookmarkAdministrationGUI.php.
References newFormBookmarkFolder(), ilUtil\sendInfo(), ilUtil\stripSlashes(), and view().
Here is the call graph for this function:| ilBookmarkAdministrationGUI::delete | ( | ) |
display deletion conformation screen
Definition at line 812 of file class.ilBookmarkAdministrationGUI.php.
References $_SESSION, $id, $title, ilUtil\getImagePath(), ilUtil\getImageTagByType(), ilUtil\prepareFormOutput(), ilUtil\sendInfo(), ilUtil\shortenText(), and ilUtil\switchColor().
Here is the call graph for this function:| ilBookmarkAdministrationGUI::displayHeader | ( | ) |
display header and locator
Definition at line 191 of file class.ilBookmarkAdministrationGUI.php.
References displayLocator(), ilUtil\getImagePath(), 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 419 of file class.ilBookmarkAdministrationGUI.php.
Referenced by displayHeader().
Here is the caller graph for this function:| ilBookmarkAdministrationGUI::editFormBookmark | ( | ) |
display edit bookmark form
Definition at line 597 of file class.ilBookmarkAdministrationGUI.php.
References $_GET, $lng, and get_last().
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 518 of file class.ilBookmarkAdministrationGUI.php.
References $_GET, $lng, and get_last().
Referenced by updateBookmarkFolder().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookmarkAdministrationGUI::executeAction | ( | ) |
Definition at line 120 of file class.ilBookmarkAdministrationGUI.php.
References export(), sendmail(), and view().
Here is the call graph for this function:| & ilBookmarkAdministrationGUI::executeCommand | ( | ) |
execute command
Definition at line 101 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 151 of file class.ilBookmarkAdministrationGUI.php.
References $_GET, $_SESSION, and ilBookmarkExplorer\setAllowedTypes().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookmarkAdministrationGUI::export | ( | $deliver = true | ) |
export bookmarks
Definition at line 757 of file class.ilBookmarkAdministrationGUI.php.
References $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 587 of file class.ilBookmarkAdministrationGUI.php.
References ilUtil\prepareFormOutput().
Referenced by editFormBookmark(), editFormBookmarkFolder(), newFormBookmark(), and newFormBookmarkFolder().
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 1014 of file class.ilBookmarkAdministrationGUI.php.
| ilBookmarkAdministrationGUI::getMode | ( | ) |
return display mode flat or tree
Definition at line 144 of file class.ilBookmarkAdministrationGUI.php.
Referenced by executeCommand().
Here is the caller graph for this function:| ilBookmarkAdministrationGUI::ilBookmarkAdministrationGUI | ( | ) |
Constructor public.
| integer | user_id (optional) |
Definition at line 70 of file class.ilBookmarkAdministrationGUI.php.
References $_GET, $_SESSION, $ilCtrl, $ilias, $lng, and $tpl.
| ilBookmarkAdministrationGUI::importFile | ( | ) |
imports a bookmark file into database display status information or report errors messages in case of error
public
Definition at line 1029 of file class.ilBookmarkAdministrationGUI.php.
References __importBookmarks(), ilBookmarkImportExport\_parseFile(), newFormBookmark(), ilUtil\sendInfo(), and view().
Here is the call graph for this function:| ilBookmarkAdministrationGUI::newForm | ( | ) |
new form
Definition at line 476 of file class.ilBookmarkAdministrationGUI.php.
References newFormBookmark(), and newFormBookmarkFolder().
Here is the call graph for this function:| ilBookmarkAdministrationGUI::newFormBookmark | ( | ) |
display new bookmark form
Definition at line 547 of file class.ilBookmarkAdministrationGUI.php.
References $lng, and get_last().
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 493 of file class.ilBookmarkAdministrationGUI.php.
References $lng, and get_last().
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 787 of file class.ilBookmarkAdministrationGUI.php.
References $filename, export(), 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 968 of file class.ilBookmarkAdministrationGUI.php.
References $_SESSION, formSelect(), and ilUtil\formSelect().
Referenced by view().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookmarkAdministrationGUI::updateBookmark | ( | ) |
update bookmark in db
Definition at line 723 of file class.ilBookmarkAdministrationGUI.php.
References $_GET, editFormBookmark(), ilUtil\sendInfo(), ilUtil\stripSlashes(), and view().
Here is the call graph for this function:| ilBookmarkAdministrationGUI::updateBookmarkFolder | ( | ) |
update bookmark folder
Definition at line 660 of file class.ilBookmarkAdministrationGUI.php.
References $_GET, editFormBookmarkFolder(), ilUtil\sendInfo(), ilUtil\stripSlashes(), and view().
Here is the call graph for this function:| ilBookmarkAdministrationGUI::view | ( | ) |
Definition at line 211 of file class.ilBookmarkAdministrationGUI.php.
References $_SESSION, $tree, ilFrameTargetInfo\_getFrame(), ilUtil\getImagePath(), ilBookmarkFolder\getObjects(), ilUtil\prepareFormOutput(), ilUtil\shortenText(), showPossibleSubObjects(), and ilUtil\switchColor().
Referenced by cancel(), confirm(), createBookmark(), createBookmarkFolder(), executeAction(), importFile(), updateBookmark(), and updateBookmarkFolder().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookmarkAdministrationGUI::$data |
Definition at line 62 of file class.ilBookmarkAdministrationGUI.php.
| ilBookmarkAdministrationGUI::$id |
Definition at line 61 of file class.ilBookmarkAdministrationGUI.php.
| ilBookmarkAdministrationGUI::$ilias |
Definition at line 56 of file class.ilBookmarkAdministrationGUI.php.
Referenced by ilBookmarkAdministrationGUI().
| ilBookmarkAdministrationGUI::$lng |
Definition at line 58 of file class.ilBookmarkAdministrationGUI.php.
Referenced by displayLocator(), editFormBookmark(), editFormBookmarkFolder(), ilBookmarkAdministrationGUI(), newFormBookmark(), and newFormBookmarkFolder().
| ilBookmarkAdministrationGUI::$textwidth = 100 |
Definition at line 63 of file class.ilBookmarkAdministrationGUI.php.
| ilBookmarkAdministrationGUI::$tpl |
Definition at line 57 of file class.ilBookmarkAdministrationGUI.php.
Referenced by ilBookmarkAdministrationGUI().
| ilBookmarkAdministrationGUI::$tree |
Definition at line 60 of file class.ilBookmarkAdministrationGUI.php.
| ilBookmarkAdministrationGUI::$user_id |
Definition at line 49 of file class.ilBookmarkAdministrationGUI.php.