Class humhub\modules\ui\widgets\CounterSetItem

Inheritancehumhub\modules\ui\widgets\CounterSetItem » yii\base\BaseObject
Available since version1.3

Class CounterSetItem

See also humhub\modules\ui\widgets\CounterSet.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$label string The label of this counter item. humhub\modules\ui\widgets\CounterSetItem
$linkOptions array The Link options humhub\modules\ui\widgets\CounterSetItem
$url array The URL humhub\modules\ui\widgets\CounterSetItem
$value integer The numberic value of this counter item humhub\modules\ui\widgets\CounterSetItem

Property Details

$label public property

The label of this counter item. The output will not encoded!

public string $label null
$linkOptions public property

The Link options

public array $linkOptions = []
$url public property

The URL

public array $url null
$value public property

The numberic value of this counter item

public integer $value null

Method Details

hasLink() public method

public boolean hasLink ( )