kaystrobach/tags

Last activity on 12 December 2018
  • 2188
composer require kaystrobach/tags

Add description here

0.0.13

Add description here

Version
0.0.13
Type
neos-package
Release Date
26.03.2018 15:06:57
Source
git
Distribution
zip
Requires
Requires (dev)
None
Suggest
None
Provides
None
Conflicts
None
Replaces
None
MIT 1ef1832edf9d8d59e753203d297a4d21c854dc69

Small FLOW package which provides Tagging for objects

{namespace ks=KayStrobach/Tags/ViewHelpers}

<ks:ifHasTag object="{object}" tag="{tag}">
    <f:then>
        ...
    </f:then>
    <f:else>
        ...
    </f:else>
</ks:ifHasTag>

The Tagging is provided via

  • an Tag Model
  • a TagableInterface
  • a TagableTrait

having all these helper you can add tagging in the matter of minutes

Currently there is no interface for adding tags. Please use the DB.

How to make your Entity tagable


use KayStrobach\Tags\Domain\Model\TagableTrait;

/**
 * @Flow\Entity
 */
class Entity implements TagableInterface
{

    use TagableTrait;
    
    public function __construct()
    {
        $this->initTags();
    }
}

The content of the readme is provided by Github
The same vendor provides 11 package(s).