docbookHandles the content of the book, editing, approving, navigation, etc.
Located in /templates/docbook/docbook.php (line 32)
WebObject | --docbook
add_accessright_vars (line 92)
add variables about access rights of the user
get_button_vars (line 151)
Returns an associative array with keys 'edit', 'approve' and 'admin' and whith values 'true' or 'false', according to the access rights of the current user.
get_edit_rights (line 201)
Reads the user edit rights file 'admin/access_rights/username'
which contains lines like this: allow:edit,approve:node_path_1,node_path_2:lng1,lng2 deny:approve:node_path_3,node_path_4:lng2 After matching the current node and language with these lines, returns array($edit, $approve) with values 'true' or 'false'.
init (line 34)
is_admin (line 104)
Returns 'true' if the current user is an admin for the current book, otherwise returns 'false'.
lang_match (line 262)
Returns true if one of the language ids in the list matches the current language, otherwise returns false. The lang_list is a comma separated list of languages, or 'ALL'.
'ALL' matches any language.
node_match (line 243)
Returns true if one of the node_path expressions in the list matches the current node path, otherwise returns false.
The node_list is a comma separated list of node_path expressions (which are actually regular expressions), or is the string 'ALL'. 'ALL' matches any node path.
onParse (line 82)
onRender (line 121)
on_set_lng (line 71)
on_set_mode (line 56)
on_set_node (line 43)
on_set_node_id (line 49)
Documentation generated on Wed, 09 Jan 2008 08:26:52 +0100 by phpDocumentor 1.3.2