Date index for May 2003
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [achievo] Redefine a function the layout.class in Atk
Howdy,
I found a way to do this that seems to work that fits more with the module
model. Can you tell me if there is some hidden danger. I missed
Robert
In config.inc.php:
// -------------------------------------------
// END OF CONFIGURATION
// -------------------------------------------
// Leave this line in place, it configures the backend of Achievo.
// Also, you should not change the atkconf.inc file, since that would
// break Achievo.
include "atkconf.inc";
$config_debug = 1;
include("./mymodules/atkextensions/module.inc");
In module.inc:
<?php
require_once("./atk/class.layout.inc");
require_once("class.mylayout.inc");
?>
In class.mylayout.inc:
class mylayout extends layout
{
function mylayout()
{
$this->layout();
}
function outputFlush($nocache=true, $lastmodificationstamp="")
{
MYCHANGED FUNCTION VERSION: I needed to alter the debug output to add the
abiltiy to collapse the output dynamically
}
$g_layout = new mylayout();
-----Original Message-----
From: Ivo Jansch [http://www.achievo.org/ ]
[ to unsubscribe send an e-mail to achievo-unsubscribe dot