Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Pages: 1
Hi All,
I am new to livehelperhcat and just installed it and am using it.
Now I am debugging it using xdebug from Zend Studio.
The core of the web application seems to be the file index.php, which then loads the various scripts based on the url.
So, can someone explain what the following functions in the piece of code does.
erLhcoreClassSystem::init();
// your code here
ezcBaseInit::setCallback(
'ezcInitDatabaseInstance',
'erLhcoreClassLazyDatabaseConfiguration'
);
$Result = erLhcoreClassModule::moduleInit();
And i cannot see the $Result variable, only debug output seems to be written to.
Also, can you explain what the below functions do
$tpl = erLhcoreClassTemplate::getInstance('pagelayouts/main.php');
$tpl->set('Result',$Result);
if (isset($Result['pagelayout']))
{
$tpl->setFile('pagelayouts/'.$Result['pagelayout'].'.php');
}
echo $tpl->fetch();
Thanks
Thambi
Offline
See this
https://livehelperchat.com/article/view/56
http://ezcomponents.org/docs
Also to find where each class resides just open
lib/autoloads/lhcore_autoload.php
And what does each class you will have to understand yourself just be looking at class code.
Offline
Pages: 1