Class cHTMLInputSelectElement
Select box with additional functions for category and article selection
- cHTML
- cHTMLFormElement
- cHTMLSelectElement
- cHTMLInputSelectElement
Package: Core\Util
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Bjoern Behrens
Located at classes/class.input.helper.php
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Bjoern Behrens
Located at classes/class.input.helper.php
public
|
#
__construct( string $sName, integer $iWidth = '', string $sID = '', string $bDisabled = false, integer $iTabIndex = NULL, string $sAccessKey = '' )
Constructor. Creates an HTML select field (aka 'DropDown'). |
public
integer
|
#
addArticles( integer $iIDCat, boolean $bColored = false, boolean $bArtOnline = true, string $sSpaces = '' )
Function addArticles. Adds articles to select box values. |
public
integer
|
#
addCategories( integer $iMaxLevel = 0, boolean $bColored = false, boolean $bCatVisible = true, boolean $bCatPublic = true, boolean $bWithArt = false, boolean $bArtOnline = true )
Function addCategories. Adds category elements (optionally including articles) to select box values. Note: Using 'with articles' adds the articles also - but the categories will get a negative value! There is no way to distinguish between a category id and an article id... |
public
integer
|
#
addTypesFromArt( integer $iIDCatArt, string $sTypeRange = '' )
Function addTypesFromArt. Adds types and type ids which are available for the specified article |
public
|
addOptionElement(),
appendOptionElement(),
autoFill(),
getDefault(),
setDefault(),
setMultiselect(),
setSize(),
toHtml()
|
setAccessKey(),
setDisabled(),
setTabindex()
|
$_options
|
$_attributes,
$_content,
$_contentlessTag,
$_eventDefinitions,
$_generateXHTML,
$_idCounter,
$_requiredScripts,
$_skeletonClose,
$_skeletonOpen,
$_skeletonSingle,
$_styleDefinitions,
$_styleDefs,
$_tag
|