Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-Checkbox mit pflegbaren Optionswerten für Many2Many #68

Closed
areanet-schmid opened this issue Feb 21, 2018 · 0 comments
Closed

Multi-Checkbox mit pflegbaren Optionswerten für Many2Many #68

areanet-schmid opened this issue Feb 21, 2018 · 0 comments

Comments

@areanet-schmid
Copy link
Member

(1) Neue Entitäten

  • PIM\Option
    • id, group, value
  • PIM\OptionGroup
    • id, name (unique)

(2) Neuer Typ "Checkbox"

  • Neue Annotation
    • @ORM\ManyToMany(targetEntity="Areanet\PIM\Entity\Options")
      @ORM\JoinTable(name="join_table_name", joinColumns {@ORM\JoinColumn(onDelete="CASCADE")})
      @PIM\Checkbox() // oder @PIM\Checkbox(group='gruppenname')
  • Bei der Schema-Erstellung "Types/CheckboxType->processSchema()" entweder group (wenn gesetzt) oder "Entitätname/Feldname" in OptionGroup speichern

** (3) Neuer Frontendtyp "Checkbox"**

  • Analog Multijoin
@areanet-schmid areanet-schmid added this to the 1.4.0 milestone Feb 21, 2018
@areanet-schmid areanet-schmid modified the milestones: 1.4.0, 1.5.0 Mar 5, 2018
areanet-schmid pushed a commit that referenced this issue Apr 12, 2018
# Conflicts:
#	appcms/areanet/PIM/Classes/Api.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant