$phpgw->phpgw_header()
Print out the start of the HTML page, including the navigation bar and includes appname/inc/header.php
$phpgw->phpgw_footer()
Prints the system footer, and includes appname/inc/footer.php
$phpgw->common->appsession($data)
Store important information session information that your application needs.
$phpgw->appsession will return the value of your session data is you leave the parameter empty [i.e. $phpgw->appsession("")], otherwise it will store whatever data you send to it.
You can also store a comma delimited string and use explode() to turn it back into an array when you receive the value back.
Example:
$phpgw->common->appsession("/path/to/something"); echo "Dir: " . $phpgw->common->appsession(); |