Public Member Functions | |
init () | |
save ($url, $title, $page_id, $collection_id=null) | |
getCollectionId () | |
flushHistory ($collection_id=null) |
Static Public Member Functions | |
static | t ($str= '', $params=array(), $dic= 'core') |
Public Attributes | |
$cacheTime = 3600 | |
$autoSave = false |
Gentics Portal.Node PHP Author & Copyright (c) by Gentics Software GmbH sales @gen tics. comhttp://www.gentics.com Licenses can be found in the LICENSE.txt file in the root-folder of this installation You must not use this software without a valid license agreement.
HistoryModule This module allows user to remember pages he was visited
Interaction with module performs with one widget and one function Widget:
HistoryModule::save() function save specified page to user history HistoryModule::flushHistory() flush current user history
Definition at line 22 of file HistoryModule.php.
HistoryModule::flushHistory | ( | $collection_id = null | ) |
Flush(clear) user history
string | $collection_id | id of collection which to flush. If empty then current user history will flushed |
Definition at line 78 of file HistoryModule.php.
References VisitedHistory\flush().
HistoryModule::getCollectionId | ( | ) |
Current collection id
Definition at line 67 of file HistoryModule.php.
References VisitedHistory\getCurrentCollectionId().
HistoryModule::save | ( | $url, | |
$title, | |||
$page_id, | |||
$collection_id = null |
|||
) |
When this function invokes it saves specified page to user history
Definition at line 57 of file HistoryModule.php.
|
static |
Translates a message to the specified language.
string | $str | message |
array | $params | params |
string | $dic | dictionary |
Definition at line 92 of file HistoryModule.php.