This file has some common functions.
Check whether the public copy of the book is fixed to a certain tag or revision and return it. If book is not fixed, return false.
Returns the path of the content_lng.html for the given node and language.
Returns the path of the content.xml for the given node and language.
Reads from cache 'navigation.txt' for the given node and returns an associative array with the template variables this_path, next_path, prev_path, up_path, this_title, next_title, prev_title, up_title.
Converts the given time stamp to a date string.
If the time is today, then give just hours and minutes, otherwise give more information.
Reads the file state.txt of the current node and returns
an associative array with the variables found in it. This file contains two lines. The first line is the lock line and contains 'lock:mode:l_user:l_email:l_timestamp', where lock is 'locked' or 'unlocked' and mode is 'edit' or 'approve'. The second line is the modification line and it contains 'status:m_user:m_email:m_timestamp', where status is 'synchronized', or 'modified'. The keys of the associative array are: lock, mode, l_user, l_email, l_timestamp, status, m_user, m_email, m_timestamp.
Returns the file state.txt of the current node.
Returns true if the node is locked and the lock has not expired.
Returns true and displays a notification message, if the node is locked by another user.
applies the given transformer to index.xml
Lock or unlock the current node.
The $lock parameter can be 'locked' or 'unlocked', and $mode can be 'edit' or 'approve'.
Set the status of the current node to the given new status.
The new status can be: synchronized or modified.
Update the cache file content.html from content.xml
Documentation generated on Wed, 09 Jan 2008 08:26:53 +0100 by phpDocumentor 1.3.2