ILIAS
Release_4_0_x_branch Revision 61816
|
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 |
bookmark import export
Definition at line 31 of file class.ilBookmarkImportExport.php.
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 157 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 59 of file class.ilBookmarkImportExport.php.
References $desc, $name, $ok, $result, _convertCharset(), _decodeEntities(), and elseif().
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 222 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 199 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 132 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 38 of file class.ilBookmarkImportExport.php.
References $file, and __parseNetscape().
Referenced by ilBookmarkAdministrationGUI\importFile().