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

[WIP] Alias aware interface #904

Closed
stefanheimes opened this issue Nov 8, 2015 · 8 comments
Closed

[WIP] Alias aware interface #904

stefanheimes opened this issue Nov 8, 2015 · 8 comments
Assignees
Labels
enhancement This issue is about an enhancement (aka new feature)
Milestone

Comments

@stefanheimes
Copy link
Member

I want to add a new interface. The AliasAware Interface. This interface should identify attributes which have a alias value like the tags and selects.

I want to add at the momtent 3 functions.

  • getAliasValue()
    • Returns the value from the alias field.
  • isAliasMetaModelsAttribute()
    • Check if the field is a MetaModels attribute
  • parseAlias($format = 'text')
    • If we have a MetaModels attribute parse it and return the value.

Did i miss some functions?

@stefanheimes stefanheimes added the enhancement This issue is about an enhancement (aka new feature) label Nov 8, 2015
@stefanheimes stefanheimes self-assigned this Nov 8, 2015
@stefanheimes stefanheimes added the question We have a question, please elaborate on the ticket. label Nov 8, 2015
@discordier
Copy link
Member

Where do you pass the id/data?
Please add code to the ticket and/or create a feature branch. I'd prefer code snippet here to discuss.

@stefanheimes
Copy link
Member Author

21a2b1e

Should i create a mockup for a attribute ?

@discordier
Copy link
Member

Yes, please do, as your implementation does not work ;)
Where do you pass the data or id?

@stefanheimes
Copy link
Member Author

Hmm jip, i have a wrong idear, i will change it.

@stefanheimes
Copy link
Member Author

Okay new version AND the first implementation for the selects. MetaModels/attribute_select@310792c Not yet testet just some idears.

@zonky2
Copy link
Contributor

zonky2 commented Jan 5, 2016

@stefanheimes Ticket noch aktuell?

@zonky2 zonky2 modified the milestones: 2.1.0, 2.0.0 Jan 15, 2016
@zonky2
Copy link
Contributor

zonky2 commented Jan 17, 2016

@discordier discordier modified the milestones: 2.1.0, 2.0.0 Feb 7, 2017
@zonky2 zonky2 modified the milestones: Future, 2.1.0 Sep 7, 2017
@zonky2 zonky2 removed the question We have a question, please elaborate on the ticket. label May 17, 2021
@zonky2 zonky2 changed the title Feature: Alias aware interface [WIP] Alias aware interface May 17, 2021
@zonky2
Copy link
Contributor

zonky2 commented Aug 22, 2022

Implemented in MM 2.2

@zonky2 zonky2 closed this as completed Aug 22, 2022
@discordier discordier modified the milestones: Future, 2.2.0 Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This issue is about an enhancement (aka new feature)
Projects
None yet
Development

No branches or pull requests

3 participants