protected function _getModel() { if (!isset($this->_model)) { $this->_model = Kwf_Model_Factory_Abstract::getModelInstance($this->_config['modelFactoryConfig']); } return $this->_model; }
public static function getModelInstance($config) { return Kwf_Model_Factory_Abstract::getModelInstance($config['proxy'])->getProxyModel(); }
public static function getModelInstance($config) { $models = Kwf_Model_Factory_Abstract::getModelInstance($config['union'])->getUnionModels(); return $models[$config['modelKey']]; }