@@ -39,11 +39,11 @@ A CakePHP behavior to automatically create and store slugs.
39
39
<td> `'url'` </td>
40
40
<td>
41
41
<ul>
42
- <li> <b>ascii: </b> retuns an ascii slug generated using the core Inflector::slug() function </li>
42
+ <li> <b>ascii: </b> returns an ASCII slug generated using the core Inflector::slug() function </li>
43
43
<li> <b>display: </b> a dummy mode which returns a slug legal for display - removes illegal (not unprintable) characters </li>
44
44
<li> <b>url: </b> returns a slug appropriate to put in a URL </li>
45
- <li> <b>class: </b> a dummy mode which returns a slug appropriate to put in a html class (there are no restrictions) </li>
46
- <li> <b>id: </b> returns a slug appropriate to use in a html id </li>
45
+ <li> <b>class: </b> a dummy mode which returns a slug appropriate to put in a HTML class (there are no restrictions) </li>
46
+ <li> <b>id: </b> returns a slug appropriate to use in a HTML id </li>
47
47
<li> <b>{callable}: </b> Use your custom callable to pass in your slugger method </li>
48
48
</ul>
49
49
</td>
@@ -64,8 +64,11 @@ A CakePHP behavior to automatically create and store slugs.
64
64
<td>
65
65
has the following values
66
66
<ul>
67
- <li> <b>false: </b> once the slug has been saved, do not change it (use if you are doing lookups based on slugs) </li>
68
- <li> <b>true: </b> if the label field values change, regenerate the slug (use if you are the slug is just window-dressing) </li>
67
+ <li> <b>false: </b> Once the slug has been saved, do not change it (use if you are doing lookups based on slugs) </li>
68
+ <li>
69
+ <b>true: </b> If the label field values change, regenerate the slug (use if the slug is just window-dressing).
70
+ Note: For multi-field labels, all fields are required to be present once one label field has been touched (dirty set to true).
71
+ </li>
69
72
</ul>
70
73
</td>
71
74
</tr>
@@ -75,7 +78,7 @@ A CakePHP behavior to automatically create and store slugs.
75
78
<td>
76
79
has the following values
77
80
<ul>
78
- <li> <b>false: </b> will not enforce a unique slug, whatever the label is is direclty slugged without checking for duplicates </li>
81
+ <li> <b>false: </b> will not enforce a unique slug, whatever the label is is directly slugged without checking for duplicates </li>
79
82
<li> <b>true: </b> use if you are doing lookups based on slugs (see overwrite) </li>
80
83
</ul>
81
84
</td>
0 commit comments