コード例 #1
0
ファイル: Factory.class.php プロジェクト: evilgeny/bob
 public function createByProps($data = NULL)
 {
     $this->_class = 'RM_Equipment_Entity_' . ucfirst($data['type']);
     $this->_entity = parent::createByProps($data);
     $this->_initEntityFields($data);
     return $this->_entity;
 }
コード例 #2
0
ファイル: Script.class.php プロジェクト: evilgeny/bob
 public function createByProps($data = NULL)
 {
     $this->_setClass($data);
     return parent::createByProps($data);
 }
コード例 #3
0
ファイル: Factory.class.php プロジェクト: evilgeny/bob
 public function createByProps($data = NULL)
 {
     $this->_class = 'RM_ObjectFs_' . ucfirst(isset($data['type']) ? $data['type'] : 'entity');
     return parent::createByProps($data);
 }
コード例 #4
0
ファイル: Factory.class.php プロジェクト: evilgeny/bob
 public function createByProps($data = NULL)
 {
     $this->_class = 'RM_Forum_Entity_' . ucfirst($data['type']);
     return parent::createByProps($data);
 }