LiteCommerce:Object class
Object class is a core LiteCommerce class. All LiteCommerce classes derived from Object. Object delegates basic methos for manipulating data and object properties.
/**
* Base abstract class for the most of the LiteCommerce project classes.
*/
class Object
{
var $xlite;
var $logger;
var $auth;
var $session;
var $config;
var $db;
/**
Constructor initializes object properties such as xlite, logger, etc. – shortcuts to XLite object
properties.
*/
function constructor() {...}
/**
* Method maps the specified associative array to this object properties.
*/
function setProperties($assoc) {...}
/**
* Methods returns the list of $this class parent. Useful for debug.
*
* Returns string.
*/
function _parentList() {...}
/**
* Method wrapper for func_die() function. See includes/functions.php for details.
*/
function _die($message) {...}
/**
* Returns property value named $name.
* If no property found, returns null.
* The value is returned by reference.
*/
function &get($name) {...}
/**
* Sets the property named $name value to $value.
*/
function set($name, $value) {...}
/**
* Methods checks that property named $name is defined. If get($name) returns non-null value,
$is($name) returns boolen TRUE. Returns FALSE otherwise.
*/
function is($name) {...}
/**
* Methods provides access to objects (properties) named $name methods.
* If one or more $param is defined, params passed to method call.
*/
function call($name [, $param1 [, $param2 [[...]]]]) {...}
}