ol() public static method
Generates an ordered list.
public static string ol ( $items, $options = [] ) | ||
---|---|---|
$items | array|Traversable |
The items for generating the list. Each item generates a single list item. Note that items will be automatically HTML encoded if |
$options | array |
Options (name => config) for the radio button list. The following options are supported:
See renderTagAttributes() for details on how attributes are being rendered. |
return | string |
The generated ordered list. An empty string is returned if |
Please login to continue.