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