ILIAS
Release_4_0_x_branch Revision 61816
|
Static Public Member Functions | |
static | _initForm ($formhandlerObject, $mode="create", $id=0) |
Init Social Bookmark edit/create Form. | |
static | _insertSocialBookmark ($title, $link, $active, $icon_path) |
insert new social bookmark service | |
static | _updateSocialBookmark ($id, $title, $link, $active, $icon_path=false) |
update a social bookmark service | |
static | _setActive ($id, $active=true) |
update a social bookmark service | |
static | _delete ($id) |
update a social bookmark service | |
static | _deleteImage ($id) |
delete image of an service | |
static | _getEntry ($id=0) |
Definition at line 13 of file class.ilSocialBookmarks.php.
|
static |
update a social bookmark service
int | the id to edit |
bool | set the active status to param |
Definition at line 181 of file class.ilSocialBookmarks.php.
References $ilDB, $q, and _deleteImage().
Referenced by ilObjExternalToolsSettingsGUI\confirmDeleteSocialBookmarksObject().
|
static |
delete image of an service
int | the id to edit |
Definition at line 221 of file class.ilSocialBookmarks.php.
References $ilDB, $q, and $row.
Referenced by _delete(), and ilObjExternalToolsSettingsGUI\updateSocialBookmarkObject().
|
static |
Definition at line 237 of file class.ilSocialBookmarks.php.
References $ilDB, $q, $result, and $row.
Referenced by ilObjExternalToolsSettingsGUI\deleteSocialBookmarksObject(), ilObjExternalToolsSettingsGUI\editSocialBookmarkObject(), and ilObjExternalToolsSettingsGUI\editSocialBookmarksObject().
|
static |
Init Social Bookmark edit/create Form.
ilObjectGUI | $formhandlerObject | taken as form target |
int | $mode | "create" / "edit" |
Definition at line 21 of file class.ilSocialBookmarks.php.
References $ilCtrl, $lng, ilTextInputGUI\setMaxLength(), ilFileInputGUI\setSuffixes(), and ilCheckboxInputGUI\setValue().
Referenced by ilObjExternalToolsSettingsGUI\addSocialBookmarkObject(), ilObjExternalToolsSettingsGUI\createSocialBookmarkObject(), ilObjExternalToolsSettingsGUI\editSocialBookmarkObject(), and ilObjExternalToolsSettingsGUI\updateSocialBookmarkObject().
|
static |
insert new social bookmark service
string | the title to display |
string | the link with placeholders {TITLE} and {LINK} |
int | activate on insert 0/1 |
string | a relative path (base is <datadir>/social_bm_icons |
Definition at line 86 of file class.ilSocialBookmarks.php.
References $ilDB, $q, and $title.
Referenced by ilObjExternalToolsSettingsGUI\createSocialBookmarkObject().
|
static |
update a social bookmark service
int | the id to edit |
bool | set the active status to param |
Definition at line 143 of file class.ilSocialBookmarks.php.
Referenced by ilObjExternalToolsSettingsGUI\disableSocialBookmarksObject(), and ilObjExternalToolsSettingsGUI\enableSocialBookmarksObject().
|
static |
update a social bookmark service
int | the id to edit |
string | the title to display |
string | the link with placeholders {TITLE} and {LINK} |
int | activate on insert 0/1 |
string | a relative path (base is <datadir>/social_bm_icons. If none is given, the icon will not be altered |
Definition at line 111 of file class.ilSocialBookmarks.php.
References $ilDB, $q, and $title.
Referenced by ilObjExternalToolsSettingsGUI\updateSocialBookmarkObject().