public function create($data = NULL) { $this->_class = 'RM_Equipment_Entity_' . ucfirst($data['type']); $this->_entity = parent::create($data); $this->_initEntityFields($data); return $this->_entity; }
public function create($data = NULL) { $this->_setClass($data); return parent::create($data); }
public function create($data = NULL) { $this->_class = 'RM_ObjectFs_' . ucfirst(isset($data['type']) ? $data['type'] : 'entity'); return parent::create($data); }
public function create($data = NULL) { $this->_class = 'RM_Forum_Entity_' . ucfirst($data['type']); return parent::create($data); }