Wikipage resolver

package net.nemein.wiki

 Methods

__construct ($topic)

Parameters

$topic

generate_page_url ($wikipage)

Parameters

$wikipage

path_to_wikipage ($path, $force_resolve_folder_tree, $force_as_root)

Traverse hierarchy of wiki folders or "name spaces" to figure out if a page exists

Parameters

$path

$force_resolve_folder_tree

$force_as_root

Returns

arraycontaining midcom_db_topic and net_nemein_wiki_wikipage objects if found

_list_wiki_nodes ($node, $prefix)

Parameters

$node

$prefix

_resolve_folder_tree ($force_as_root)

Parameters

$force_as_root

 Properties

 

int $_topic

The topic ID we're starting from