ILIAS
release_4-3 Revision
|
bookmark import export More...
Public Member Functions | |
_parseFile ($file) | |
parse Bookmark file static method returns 3 dimensional array of bookmarks and folders | |
__parseNetscape (&$fp) | |
parse Netscape bookmark file | |
_exportBookmark ($obj_ids, $recursive=true, $title= '') | |
export bookmarks static method return html string | |
__parseExport ($object, $depth=1, $recursive=true) | |
recursive methode generates bookmark output for export | |
_decodeEntities ($string) | |
decode html entities of given string | |
_convertCharset ($string, $from_charset='', $to_charset='UTF-8') | |
converts charset of given string |
ilBookmarkImportExport::__parseExport | ( | $object, | |
$depth = 1 , |
|||
$recursive = true |
|||
) |
recursive methode generates bookmark output for export
array | node date |
int | depth of recursion |
bool | true for recursive export private |
Definition at line 138 of file class.ilBookmarkImportExport.php.
References $result, ilBookmarkFolder\getObjects(), and ilUtil\prepareFormOutput().
Referenced by _exportBookmark().
ilBookmarkImportExport::__parseNetscape | ( | & | $fp | ) |
parse Netscape bookmark file
int | filepointer private |
Definition at line 40 of file class.ilBookmarkImportExport.php.
References $ok, $result, _convertCharset(), and _decodeEntities().
Referenced by _parseFile().
ilBookmarkImportExport::_convertCharset | ( | $string, | |
$from_charset = '' , |
|||
$to_charset = 'UTF-8' |
|||
) |
converts charset of given string
string | string to converte |
string | from charset |
string | to charset public |
Definition at line 203 of file class.ilBookmarkImportExport.php.
Referenced by __parseNetscape().
ilBookmarkImportExport::_decodeEntities | ( | $string | ) |
decode html entities of given string
string | string to decode public |
Definition at line 180 of file class.ilBookmarkImportExport.php.
Referenced by __parseNetscape().
ilBookmarkImportExport::_exportBookmark | ( | $obj_ids, | |
$recursive = true , |
|||
$title = '' |
|||
) |
export bookmarks static method return html string
array | array of bookmark ids to export |
bool | true for recursive export |
string | title of html page |
Definition at line 113 of file class.ilBookmarkImportExport.php.
References $title, __parseExport(), and ilBookmarkFolder\getObject().
Referenced by ilBookmarkAdministrationGUI\export().
ilBookmarkImportExport::_parseFile | ( | $file | ) |
parse Bookmark file static method returns 3 dimensional array of bookmarks and folders
string | file |
Definition at line 19 of file class.ilBookmarkImportExport.php.
References $file, and __parseNetscape().
Referenced by ilBookmarkAdministrationGUI\importFile().