Esempio n. 1
0
 public function createByProps($data = NULL)
 {
     $this->_class = 'RM_Equipment_Entity_' . ucfirst($data['type']);
     $this->_entity = parent::createByProps($data);
     $this->_initEntityFields($data);
     return $this->_entity;
 }
Esempio n. 2
0
 public function createByProps($data = NULL)
 {
     $this->_setClass($data);
     return parent::createByProps($data);
 }
Esempio n. 3
0
 public function createByProps($data = NULL)
 {
     $this->_class = 'RM_ObjectFs_' . ucfirst(isset($data['type']) ? $data['type'] : 'entity');
     return parent::createByProps($data);
 }
Esempio n. 4
0
 public function createByProps($data = NULL)
 {
     $this->_class = 'RM_Forum_Entity_' . ucfirst($data['type']);
     return parent::createByProps($data);
 }