Example #1
0
 public function __construct($task = null, $sid = 0)
 {
     SPFactory::header()->addCSSFile('menu', true)->addJsFile('menu', true);
     Sobi::LoadLangFile('menu', true, true);
     $this->_task = $task ? $task : SPRequest::task();
     $this->_sid = $sid;
     SPFactory::registry()->set('adm_menu', $this);
 }