public function getReferencedModel($ref) { if ($ref == 'Component') { return Kwc_Basic_Text_ModelFactory::getModelInstance(array('componentClass' => $this->_componentClass)); } else { return parent::getReferencedModel($ref); } }
public static function createOwnModel($class) { return Kwc_Basic_Text_ModelFactory::getModelInstance(array('componentClass' => $class)); }