LISTS
Table of Contents
Functions
- lists() : mixed
- Set and get methods for dealing with lists.
- numIds() : array<string|int, mixed>
- Build up the numIds array
- abstractNumIds() : array<string|int, mixed>
- Build up the abstractNumIds array
- startListItem() : void
- Start a list (ul or ol)
- listItemProps() : void
- List item (li)
- endListItem() : void
- End a list (ul or ol)
Functions
lists()
Set and get methods for dealing with lists.
lists(string $method[, XMLWriter $xml = NULL ][, string $list = 'ul' ][, string $attr = '' ]) : mixed
$list can be either 'ul' or 'ol'. If $list is 'ul' and $attr is '', then this is the initial bullet of the UL_LIST array—an array of three bullet types we cycle through. If $list is 'ol' and $attr is '', then this is a numbered list. In tinyMCE, unless specified, a numbered list levels stay on numbered.
Parameters
- $method : string
- $xml : XMLWriter = NULL
-
Default NULL
- $list : string = 'ul'
-
Default 'ul'
- $attr : string = ''
-
Default ''
numIds()
Build up the numIds array
numIds(int $numId, int $abstractNumId) : array<string|int, mixed>
Parameters
- $numId : int
- $abstractNumId : int
Return values
array<string|int, mixed>abstractNumIds()
Build up the abstractNumIds array
abstractNumIds(int $level, string $numFmt, mixed $lvlText) : array<string|int, mixed>
Parameters
- $level : int
- $numFmt : string
- $lvlText : mixed
Return values
array<string|int, mixed>startListItem()
Start a list (ul or ol)
startListItem(XMLWriter $xml) : void
Parameters
- $xml : XMLWriter
listItemProps()
List item (li)
listItemProps(XMLWriter $xml, int $ilvl, int $numId) : void
Parameters
- $xml : XMLWriter
- $ilvl : int
- $numId : int
endListItem()
End a list (ul or ol)
endListItem(XMLWriter $xml) : void
Parameters
- $xml : XMLWriter