Rechercher une page de manuel
HTMLDocument.pushListItem.3kaya
Langue: en
Version: March 2009 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
HTMLDocument::pushListItem - Append a list itemSYNOPSIS
ElementTree pushListItem( ElementTree list, String initialcontents=createString(0) )ARGUMENTS
list The list to append to
initialcontents Optionally, the initial contents of the list item
DESCRIPTION
Append a list item to a list. If the list given is not actually a list, an HTMLDocument.InvalidNesting(3kaya) Exception is thrown. This is sometimes a more convenient way to build up lists than using an initial content array on addList , especially if the final size of the list is variable.
list = addList(parent,Ordered,0);
while (text = getNextText(source)) {
pushListItem(list,text);
}
AUTHORS
Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/LICENSE
The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.RELATED
HTMLDocument.addList(3kaya)
HTMLDocument.addListItem(3kaya)
HTMLDocument.getListItem(3kaya)
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre