Class humhub\libs\Html

Inheritancehumhub\libs\Html » yii\bootstrap\Html
Available since version1.2

HTML Helpers

Public Methods

Hide inherited methods

MethodDescriptionDefined By
backButton() Renders a back button humhub\libs\Html
containerLink() Generates an link tag to a content container humhub\libs\Html
saveButton() Save button is a shortcut for the default submit button humhub\libs\Html

Method Details

backButton() public static method (available since version 1.2)

Renders a back button

See also humhub\libs\Html::a.

public static string backButton ( $url '', $options = [] )
$url string
$options array
return string

The back button

containerLink() public static method (available since version 1.2)

Generates an link tag to a content container

public static string containerLink ( humhub\modules\content\components\ContentContainerActiveRecord $container, $options = [] )
$container humhub\modules\content\components\ContentContainerActiveRecord

The content container

$options array

The html options

return string

The generated html a tag

saveButton() public static method (available since version 1.2)

Save button is a shortcut for the default submit button

See also \humhub\libs\submitButton.

public static string saveButton ( $label '', $options = [] )
$label string
$options array
return string

The button