* Creates a new ConversationParticipantList object.
*
* @param integer $conversationID
+ * @param integer $userID
* @param boolean $isAuthor true if given user is the author of this conversation
*/
public function __construct($conversationID, $userID = 0, $isAuthor = false) {
use TOnlineLocationPageHandler;
/**
- * @see IMenuPageHandler::getOnlineLocation()
+ * Returns the textual description if a user is currently online viewing this page.
+ *
+ * @see IOnlineLocationPageHandler::getOnlineLocation()
+ *
+ * @param Page $page visited page
+ * @param UserOnline $user user online object with request data
+ * @return string
*/
public function getOnlineLocation(Page $page, UserOnline $user) {
if ($user->objectID === null) {
}
/**
+ * Prepares fetching all necessary data for the textual description if a user is currently online
+ * viewing this page.
+ *
* @see IOnlineLocationPageHandler::prepareOnlineLocation()
+ *
+ * @param Page $page visited page
+ * @param UserOnline $user user online object with request data
*/
public function prepareOnlineLocation(Page $page, UserOnline $user) {
if ($user->objectID !== null) {