XoopsSimpleObject Class Reference

Inherits AbstractXoopsObject.

Inherited by LegacyBlock_module_linkObject, LegacyBlockctypeObject, LegacyColumnsideObject, LegacyCommentObject, LegacyCommentstatusObject, LegacyGroup_permissionObject, LegacyImagebodyObject, LegacyImagecategoryObject, LegacyImageObject, LegacyNewblocksObject, LegacyRenderBannerclientObject, LegacyRenderBannerfinishObject, LegacyRenderBannerObject, LegacyRenderModuletplObject, LegacyRenderThemeObject, LegacyRenderTplfileObject, LegacyRenderTplsetObject, LegacyRenderTplsourceObject, LegacySmilesObject, LegacyThemeObject, PmPriv_msgsObject, UserAvatar_user_linkObject, UserAvatarObject, UserGroups_users_linkObject, UserGroupsObject, UserMailjob_linkObject, UserMailjobObject, UserOnlineObject, UserRanksObject, and UserUsersObject.

Inheritance diagram for XoopsSimpleObject:

[legend]
Collaboration diagram for XoopsSimpleObject:
[legend]
List of all members.

Public Member Functions

 isNew ()
 assignVars ($values)
 set ($key, $value)
 getVar ($key)
 getShow ($key)

Detailed Description

This class implements the interface of XoopsObjectInterface. It gives a developer 'TYPE SAFE' with the limit. The instance can have only five data type that are BOOL, INT, FLOAT, STRING and TEXT. You can not get the sanitizing values by cleanVars() that is the function of XoopsObject. But, all set functions give you 'TYPE SAFE'. You should use this class with using your favorite ActionForm.

"Check values by actionform, set values to XoopsSimpleObject"

This class was defined for "The prolongation of human life plan". This is not the rule that you are forced.


Member Function Documentation

XoopsSimpleObject::isNew (  ) 

Returns:
bool

Reimplemented from AbstractXoopsObject.

XoopsSimpleObject::assignVars ( values  ) 

You should use this method to initilize object's properties. This method may not trigger setDirty().

Parameters:
$values array

Reimplemented from AbstractXoopsObject.

XoopsSimpleObject::set ( key,
value 
)

You should use this method to change object's properties. This method may trigger setDirty().

Reimplemented from AbstractXoopsObject.

XoopsSimpleObject::getVar ( key  ) 

Deprecated:

XoopsSimpleObject::getShow ( key  ) 

Return HTML string for displaying only by HTML. The second parametor doesn't exist.

Reimplemented from AbstractXoopsObject.


The documentation for this class was generated from the following file:
Generated on Thu Nov 2 00:27:26 2006 for XOOPS Cube Legacy by  doxygen 1.5.1