Description

Abstract class for all data holder classes.

  • author: Marcel Werk
  • copyright: 2001-2009 WoltLab GmbH
  • license: GNU

	

Direct descendents

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.

Variable Summary

Type Name
mixed $data

Method Summary

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)

Variables

$data

protected mixed $data

Methods

__construct

public DatabaseObject __construct(array $data)

Creates a new instance of the DatabaseObject class.

Stores object data.

Parameters:

  • $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()


handleData

protected void handleData(array $data)


sort

public static boolean sort( &$objects, mixed $sortBy, [string $sortOrder = 'ASC'], DatabaseObject $objects)

Sorts a list of database objects.

Parameters:

  • $objects
  • $sortBy
  • $sortOrder
  • &$objects

__get

public mixed __get(string $name)

Returns the value of a variable in object data.

  • return: value

Parameters:

  • $name

Redefined in descendants as: User::__get()