return $this->userProfile;
}
-}
\ No newline at end of file
+}
// use table index as array index
$objects = array();
- foreach($this->objects as $object) {
+ foreach ($this->objects as $object) {
$objectID = $object->{$this->getDatabaseTableIndexName()};
$objects[$objectID] = $object;
public function __toString() {
return WCF::getLanguage()->getDynamicVariable('wcf.conversation.log.conversation.'.$this->action, array('additionalData' => $this->additionalData));
}
-}
\ No newline at end of file
+}
'invisibleParticipants' => $this->invisibleParticipants
));
}
-}
\ No newline at end of file
+}
public function getObjectID() {
return $this->conversationID;
}
-}
\ No newline at end of file
+}
public function getObjectID() {
return $this->conversationID;
}
-}
\ No newline at end of file
+}
$this->title = WCF::getLanguage()->get('wcf.conversation.conversations');
}
-}
\ No newline at end of file
+}
));
}
}
-
\ No newline at end of file
public function getObjectID() {
return $this->conversationID;
}
-
-}
\ No newline at end of file
+}
public function add(Conversation $conversation, $action, array $additionalData = array()) {
parent::_add('com.woltlab.wcf.conversation.conversation', $conversation->conversationID, $action, $additionalData);
}
-}
\ No newline at end of file
+}
public function getAuthorID() {
return $this->userID;
}
-}
\ No newline at end of file
+}
$this->conversations[$conversation->conversationID] = $conversation;
}
}
-}
\ No newline at end of file
+}