com.woltlab.wcf.data
Abstract class for all data holder classes.
| Class | Description |
|---|---|
Board |
Represents a board in the forum. |
Thread |
Represents a thread in the forum. |
Package |
This class represents a database entry in wcf package table. |
UpdateServer |
Contains business logic related to handling of package update servers. |
Attachment |
Represents an attachment. |
AttachmentContainerType |
Represents an attachment container type. |
Calendar |
Data class of calendar. Calendar holds events, has permissions and other settings |
AbstractEvent |
Abstract data class of an event |
NoRepeat |
Simple EventDate class without repetition |
EventNotification |
Abstract class represents an event notification |
Participation |
This class represents a participation of an event |
CronjobEditor |
Contains business logic related to handling of cron jobs. |
FeedReaderSource |
Reads rss news feeds. |
HelpItem |
Represents a help item. |
Captcha |
Generates and manages captchas. |
SessionAccessLog |
Represents a session access log entry. |
SessionLog |
Represents a session log entry. |
BBCodeEditor |
Provides functions to create and edit the data of a bbcode. |
Message |
SimpleMessage is the basis class for all types of messages. |
PMRecipient |
Represents a recipient of a private message. |
PMRule |
Represents a rule for private messages. |
PMRuleCondition |
Represents a condition of a rule. |
Poll |
This class represents a poll in a message. |
PollOption |
This class represents an option of a poll. |
SmileyCategory |
Represents a smiley category. |
Smiley |
Represents a smiley in a message. |
PageMenuItem |
Represents a page menu item. |
RuleItem |
Represents a rule item. |
Ruleset |
This class represents a ruleset |
Style |
Represents a style. |
Tag |
Represents a Tag. |
TemplateEditor |
TemplateEditor provides functions to create, edit or delete templates. |
TemplatePack |
TemplatePack represents a template pack. |
Avatar |
Represents a user avatar. |
AvatarCategory |
Represents an avatar category. |
UserBlogCategory |
Represents a blog category. |
UserBlogEntryComment |
Represents a blog entry comment. |
UserBlogEntry |
Represents a blog entry. |
UserGalleryAlbum |
Represents a gallery album. |
UserGalleryPhotoComment |
Represents a gallery photo comment. |
UserGalleryPhoto |
Represents a gallery photo. |
Group |
Represents a user group in database. |
GroupApplicationEditor |
GroupApplicationEditor creates, edits or deletes group applications. |
UserGuestbookEntry |
Represents a guestbook entry. |
Suspension |
Represents a predefined suspension. |
UserSuspension |
Represents a user suspension. |
UserWarning |
Represents a user warning. |
Warning |
Represents a predefined warning. |
FailedLogin |
Represents a failed user login. |
UserMemoFolder |
This class represents a folder for user memo entries. |
UserOptionCategory |
Represents a user option category. |
UserOption |
Represents a user option. |
UserRank |
Represents a user rank. |
User |
User class defines all functions to "get" the information (data) of a user. It is a reading class only. |
Session |
A session holds all information about his user and his temporary session variables. |
| Type | Name |
|---|---|
mixed |
$data |
| Return | Name |
|---|---|
DatabaseObject |
__construct(array $data)
|
void |
handleData(array $data)
|
static boolean |
sort( &$objects, mixed $sortBy, [string $sortOrder = 'ASC'], DatabaseObject $objects)
|
mixed |
__get(string $name)
|
public DatabaseObject __construct(array $data)
Creates a new instance of the DatabaseObject class.
Stores object data.
$data Redefined in descendants as: Board::__construct(), BoardEditor::__construct(), Thread::__construct(), FeedThread::__construct(), Package::__construct(), UpdateServer::__construct(), Attachment::__construct(), AttachmentContainerType::__construct(), Calendar::__construct(), BirthdayEvent::__construct(), Event::__construct(), NoRepeat::__construct(), Participation::__construct(), CronjobEditor::__construct(), HelpItem::__construct(), Captcha::__construct(), SessionAccessLog::__construct(), SessionLog::__construct(), BBCodeEditor::__construct(), Post::__construct(), PostWarningObject::__construct(), ViewablePost::__construct(), EventMessage::__construct(), PM::__construct(), UserMemo::__construct(), PMRecipient::__construct(), PMRule::__construct(), PMRuleCondition::__construct(), Poll::__construct(), PollEditor::__construct(), PollOption::__construct(), SmileyCategory::__construct(), Smiley::__construct(), PageMenuItem::__construct(), RuleItem::__construct(), Ruleset::__construct(), Style::__construct(), Tag::__construct(), TemplateEditor::__construct(), TemplatePack::__construct(), Avatar::__construct(), AvatarCategory::__construct(), UserBlogCategory::__construct(), UserBlogEntryComment::__construct(), UserBlogEntry::__construct(), ViewableUserBlogEntry::__construct(), UserGalleryAlbum::__construct(), UserGalleryPhotoComment::__construct(), UserGalleryPhoto::__construct(), Group::__construct(), GroupEditor::__construct(), GroupApplicationEditor::__construct(), UserGuestbookEntry::__construct(), ViewableUserGuestbookEntry::__construct(), Suspension::__construct(), UserSuspension::__construct(), UserWarning::__construct(), Warning::__construct(), FailedLogin::__construct(), UserMemoFolder::__construct(), UserOptionCategory::__construct(), UserOption::__construct(), UserRank::__construct(), User::__construct(), UserSession::__construct(), WBBUserSession::__construct(), UserProfile::__construct(), WBBUser::__construct(), Session::__construct()
protected void handleData(array $data)
Stores the data of a database row.
$data Redefined in descendants as: ViewableThread::handleData(), TaggedThread::handleData(), Package::handleData(), EventSearchResult::handleData(), ViewablePost::handleData(), PostSearchResult::handleData(), EventMessage::handleData(), ViewablePM::handleData(), PMSearchResult::handleData(), ActiveStyle::handleData(), ViewableUserBlogEntryComment::handleData(), TaggedUserBlogEntry::handleData(), ViewableUserBlogEntry::handleData(), UserBlogSearchResult::handleData(), UserGalleryAlbum::handleData(), ViewableUserGalleryPhotoComment::handleData(), TaggedUserGalleryPhoto::handleData(), ViewableUserGuestbookEntry::handleData(), User::handleData(), UserSession::handleData(), WBBUserSession::handleData(), UserProfile::handleData(), Session::handleData()
public static boolean sort( &$objects, mixed $sortBy, [string $sortOrder = 'ASC'], DatabaseObject $objects)
Sorts a list of database objects.
$objects $sortBy $sortOrder &$objects public mixed __get(string $name)
Returns the value of a variable in object data.
$name Redefined in descendants as: User::__get()