$search
Functions | |
def | add_language |
def | get_structure |
def | insert |
def | serialize |
def | set_current_language |
def | unserialize |
Variables | |
string | __lang__ = '' |
tuple | __structure__ = dict() |
def wikidot::structure::add_language | ( | lang | ) |
Create a new entry for this language in the dictionary
Definition at line 29 of file structure.py.
def wikidot::structure::get_structure | ( | lang | ) |
Return the tree corresponding to a specific language
Definition at line 39 of file structure.py.
def wikidot::structure::insert | ( | title, | ||
url, | ||||
breadcrumbs = set() | ||||
) |
Insert a page into the current tree Set the current language using the 'set_current_language()' function.
Definition at line 43 of file structure.py.
def wikidot::structure::serialize | ( | f | ) |
Definition at line 62 of file structure.py.
def wikidot::structure::set_current_language | ( | lang | ) |
Set the current language, for future insertions
Definition at line 34 of file structure.py.
def wikidot::structure::unserialize | ( | f | ) |
Definition at line 67 of file structure.py.
string wikidot::structure::__lang__ = '' |
Definition at line 27 of file structure.py.
tuple wikidot::structure::__structure__ = dict() |
Definition at line 26 of file structure.py.