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; }
protected function getWrapCssClass() { return "fx_form_wrap fx_form_wrap_" . Field\Entity::getTypeById($this->type_id); }