LiveWhale CMS

Welcome, Guest Login

Support Center

Properties & Attributes

Last Updated: Feb 24, 2014 02:27PM PST

There are various properties and attributes available from the $_LW object. Here is a list of the more important ones and their purpose and scope

 

 $_LW->Properties

 Property/Attr  Description Example Module Scope
page The current LiveWhale Page ?livewhale=page or frontend page path private,public
_POST The post variables    
_GET The get variables    
REGISTERED_MODULES[] Registers your data module    
AUTHORIZED_MODULES[] What is this for?    
REGISTERED_JS[] Allows for adding live js resource  live/resource/js/file  private,public
REGISTERED_APPS[] Registers your application module    private,public
INCLUDES_DIR_PATH  The path to the includes dir  Points to your base LW install  private,public

Session Variables

 Property/Attr  Purpose Usage Variable Exists
$SESSION[‘manage’] Livewhale main session array   private,public

 is_admin

True if the user is an admin    
eb8f96c071020d8b0923da726d6cab65@livewhale.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete?b_id=4256