Skip to content

classes_lib_controls_htmllist.class

Daniel Spors edited this page Dec 19, 2023 · 3 revisions

Classes in file lib/controls/htmllist.class.php

class HtmlList

Represents an (un-)ordered list in HTML (ul/ol) Usefule if you want to bind AJAX to navigation which is often created as list.

Extends: Control » Renderable

AddItem

Adds an item to the list.

Definition: public function AddItem($content, $id)

Returns: static|null Created item or null if is_empty($content)

Parameters:

  • mixed $content Content to be added

  • string $id Optional id for the created item

__construct

Definition: public function __construct($id, $listType)

Returns: NOT DOCUMENTED

Parameters:

  • string $id Id to be set

  • string $listType Type of list (ol|ul)

Clone this wiki locally