NLComponent::maxChildren
Return the maximum number of children allowed for this type of component. Subclasses can override it.
Values understood are: - 0 no children allowed - n where n is a cardinal number, indicates at most that many children are allowed - m:n where m and n are cardinal numbers, indicates that there must be at least m and and most n (inclusive) Note m and n can be the same, indicating exactly that number. n can also be '*' indicating no maximum - * Any number of children are permitted, including 0. To indicate 1 or more, return 1:
Signature
public function maxChildren()
Returns
- void