public function loadController() { $cName = ucwords($this->getCid()) . 'Controller'; $this->_tqRequire('tqapp.controllers.' . $cName); return TQBase::createApp("TQAPP\\{$cName}", $this->getConfig()); }
public function widget($wName, $datas = array(), $showHtml = true) { $wName = ucwords($wName) . 'Widget'; $this->_tqRequire('tqapp.widgets.' . $wName); return TQWebapp::createApp("TQAPP\\{$wName}", $this->getConfig())->run($datas, $showHtml); }