LiveWhale CMS

Welcome, Guest Login

Support Center

Our documentation is moving:

Please check for the most up-to-date LiveWhale CMS and LiveWhale Calendar documentation. The below legacy documentation will remain available as a reference until the documentation migration is complete.

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



 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


True if the user is an admin
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found