Class humhub\modules\space\widgets\Image

Inheritancehumhub\modules\space\widgets\Image » yii\base\Widget

Return space image or acronym

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$acronymCount integer Number of characters used in the acronym humhub\modules\space\widgets\Image
$height integer The height of the image humhub\modules\space\widgets\Image
$htmlOptions array Html options for the generated tag humhub\modules\space\widgets\Image
$linkOptions array Html Options of the link humhub\modules\space\widgets\Image
$showTooltip string Show tooltip with further information about the space (Only available when link is true) humhub\modules\space\widgets\Image
$space humhub\modules\space\models\Space humhub\modules\space\widgets\Image
$tooltipText string The tooltip text (default is users display name) humhub\modules\space\widgets\Image
$width integer The width of the image humhub\modules\space\widgets\Image

Property Details

$acronymCount public property

Number of characters used in the acronym

$height public property

The height of the image

public integer $height null
$htmlOptions public property

Html options for the generated tag

public array $htmlOptions = []

Create link to the space

public boolean $link false
$linkOptions public property

Html Options of the link

public array $linkOptions = []
$showTooltip public property (available since version 1.3)

Show tooltip with further information about the space (Only available when link is true)

public string $showTooltip false
$space public property
$tooltipText public property (available since version 1.3)

The tooltip text (default is users display name)

public string $tooltipText null
$width public property

The width of the image

public integer $width 50

Method Details

getAcronym() protected method

protected void getAcronym ( )
getDynamicStyles() protected method

protected void getDynamicStyles ( $elementWidth )
$elementWidth
init() public method

public void init ( )
run() public method

public void run ( )