【发布时间】:2012-06-04 11:44:13
【问题描述】:
我想使用我的 shell 类中的插件组件。我正在尝试使用:
App::import('Component', 'Myplugin.Mycomponent');
$this->Mycomponent =& new MycomponentComponent();
不幸的是,上述方法似乎失败了。
我收到一条错误消息,提示找不到 Component 类。
有什么建议我应该如何解决这个问题?
谢谢
【问题讨论】:
标签: cakephp cakephp-2.0