/** * 返回控制器的 UDI 名称 * * @return string */ function UDI() { if ($this->_namespace) { $name = $this->_namespace . '::' . $this->_controller_name; } else { $name = $this->_controller_name; } if ($this->_reflection_module->moduleName() != QApplication_Module::DEFAULT_MODULE_NAME) { $name .= '@' . $this->_reflection_module->moduleName(); } return $name; }
/** * 返回该控制器所属应用的反射 * * @return QReflection_Application */ function app() { return $this->_module->app(); }
/** * 返回模型所述模块的名字 * * @return string */ function moduleName() { return $this->_module->moduleName(); }
/** * 返回该模型所属应用的反射 * * @return QReflection_Application */ function reflectionApp() { return $this->_reflection_module->reflectionApp(); }