Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

JBaseObject Class Reference

Inheritance diagram for JBaseObject:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 RaiseConstructorError ($error, $str="")
 RaiseError ($error, $str="")
 GetLastError ()
 GetBaseErrorConstructor ()

Public Attributes

 $baseErrorConstructor = false
 an error in the constructor.


Detailed Description

The base class of all the sytem. Currently, it is mainly used for handling errors in the constructor.

Definition at line 12 of file JBaseObject.class.php.


Member Function Documentation

JBaseObject::GetBaseErrorConstructor  ) 
 

Gets the error in constructor flag

Returns:
boolean

Definition at line 65 of file JBaseObject.class.php.

JBaseObject::GetLastError  ) 
 

Returns and removes the last error that has happened.

Returns:
JError

Reimplemented in JSystem.

Definition at line 52 of file JBaseObject.class.php.

References JErrorHandler::GetInstance().

JBaseObject::RaiseConstructorError error,
str = ""
 

Raises an error that has happened in the constructor.

Parameters:
error A JError object or the error code
str A string describing the error

Definition at line 23 of file JBaseObject.class.php.

JBaseObject::RaiseError error,
str = ""
 

Raises a normal error in the system

Parameters:
error A JError object or the error code
str A string describing the error
Returns:
JError

Reimplemented in ModuleInstall.

Definition at line 38 of file JBaseObject.class.php.

References JErrorHandler::GetInstance(), and JErrorHandler::IsError().

Referenced by JUgrSystem::_AccessGroup(), Modules::_AccessModule(), JUgrSystem::_AccessRole(), JUgrSystem::AddGroup(), Group::AddModule(), User::AddToGroup(), Group::AddUser(), User::Create(), Group::Create(), JUgrSystem::GetGroup(), User::GetGroups(), Modules::GetModule(), User::GetModules(), Group::GetModules(), Role::GetPermissions(), User::GetRole(), JUgrSystem::GetRole(), User::GetRoles(), Group::GetSubgroups(), Group::GetSubgroupsOfUser(), JUgrSystem::GetUser(), Group::GetUsers(), Group::GetUsersWithPermission(), Group::HasModule(), Role::HasPermission(), JSystem::InitModule(), User::Remove(), Role::Remove(), Group::Remove(), User::RemoveFromGroup(), Group::RemoveUser(), User::SetGlobalGroup(), User::SetRole(), and ThrowEvent().


Member Data Documentation

JBaseObject::$baseErrorConstructor = false
 

an error in the constructor.

Flag that indicates if there was

Definition at line 14 of file JBaseObject.class.php.


The documentation for this class was generated from the following file:
Generated on Wed Nov 19 20:29:39 2003 for James by doxygen 1.3.4