| toc |
| <mm:countrelations>
Can be used inside a node tag to show the number of relations the node
has. The same effect can be reached by a relatednodescontainer tag with a `size' tag in it.
|
| see also | relatednodescontainer | size |
| attributes |
-
type
If specified only the number of relations to the type of nodes
specified by this attribute are returned.
-
searchdir
(since: MMBase-1.7)
-
role
(since: MMBase-1.7)
|
| writer attributes |
|
| nodereferrer attributes |
|
| contextreader attributes |
|
| contextwriter attributes |
|
| contextreferrer attributes |
|
|
example 1 |
<mm:listnodes type="list">
<mm:field name="title" /> has <mm:countrelations /> relation(s)<br/>
</mm:listnodes>
|