Example #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;
 }
Example #2
0
 public function createByProps($data = NULL)
 {
     $this->_setClass($data);
     return parent::createByProps($data);
 }
Example #3
0
 public function createByProps($data = NULL)
 {
     $this->_class = 'RM_ObjectFs_' . ucfirst(isset($data['type']) ? $data['type'] : 'entity');
     return parent::createByProps($data);
 }
Example #4
0
 public function createByProps($data = NULL)
 {
     $this->_class = 'RM_Forum_Entity_' . ucfirst($data['type']);
     return parent::createByProps($data);
 }