1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-26 11:40:48 +03:00

getlocalviewer

This commit is contained in:
Sergey S Yaglov 2012-01-27 19:48:53 +03:00
parent fd310cdee4
commit 1a5a6f6968

View file

@ -231,7 +231,9 @@ class ModuleViewer extends Module {
* return ModuleViewer
*/
public function GetLocalViewer() {
$oViewerLocal=new ModuleViewer(Engine::getInstance());
$sClass = $this->Plugin_GetDelegate('module', __CLASS__);
$oViewerLocal=new $sClass(Engine::getInstance());
$oViewerLocal->Init(true);
$oViewerLocal->VarAssign();
$oViewerLocal->Assign('aLang',$this->Lang_GetLangMsg());