We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 308c65b commit 0f9fee0Copy full SHA for 0f9fee0
src/Model/Behavior/TagBehavior.php
@@ -7,10 +7,15 @@
7
use Cake\Utility\Text;
8
use RuntimeException;
9
10
+/**
11
+ * Tag Behavior
12
+ */
13
class TagBehavior extends Behavior
14
{
15
/**
- * Configuration.
16
+ * Configuration Options
17
+ * - delimiter: The delimiter used to explode() the tags. Default is comma.
18
+ * - separator: Namespace separator, by default semicolon.
19
*
20
* @var array
21
*/
@@ -31,9 +36,9 @@ class TagBehavior extends Behavior
31
36
'taggedAssoc' => [
32
37
'className' => 'Muffin/Tags.Tagged',
33
38
],
34
- 'taggedCounter' => ['tag_count' => [
35
- 'conditions' => [],
- ]],
39
+ 'taggedCounter' => [
40
+ 'tag_count' => ['conditions' => []],
41
+ ],
42
'implementedEvents' => [
43
'Model.beforeMarshal' => 'beforeMarshal',
44
0 commit comments