示例#1
0
文件: Finder.php 项目: floxim/floxim
 public function getEntityClassName($data = array())
 {
     if (isset($data['type'])) {
         // todo: psr0 need verify
         $type = Entity::getTypeById($data['type']);
         $type = ucfirst($type);
         $class_name = '\\Floxim\\Floxim\\Field\\' . $type;
     }
     return $class_name;
 }
示例#2
0
文件: Baze.php 项目: floxim/floxim
 protected function getWrapCssClass()
 {
     return "fx_form_wrap fx_form_wrap_" . Field\Entity::getTypeById($this->type_id);
 }