Handles the content of the book, editing, approving, navigation, etc.
Located in /templates/docbook/docbook.php (line 32)
WebObject | --docbook
add variables about access rights of the user
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.
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'.
Returns 'true' if the current user is an admin for the current book, otherwise returns 'false'.
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.
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.
Documentation generated on Wed, 09 Jan 2008 08:26:52 +0100 by phpDocumentor 1.3.2