public function initialize(){ $this->modx->addPackage('component', MODX_CORE_PATH.'components/component/model/'); return parent::initialize(); }
Не?