Taglet v0.2.0 Taglet View Source
Documentation for Taglet.
Link to this section Summary
Functions
Get a persisted struct and inserts a new tag associated to this struct for a specific context
Get a persisted struct and removes the tag association for a specific context
Given a struct, it searchs the associated tags for a specific context
Given a tag, model and context (‘tag’ by default), will find all the model resources associated to the given tag
Link to this section Types
Link to this section Functions
Get a persisted struct and inserts a new tag associated to this struct for a specific context.
You can pass a tag or a list of tags.
In case the tag is duplicated nothing will happen.
It returns a list of associated tags
Get a persisted struct and removes the tag association for a specific context.
In case the association doesn’t exist nothing will happen.
It returns a list of associated tags
Given a struct, it searchs the associated tags for a specific context.
It returns a list of associated tags ordered by insert_date
Given a tag, model and context (‘tag’ by default), will find all the model resources associated to the given tag.