PHP Class rmrevin\yii\fontawesome\component\UnorderedList

Show file Open project: rmrevin/yii2-fontawesome

Public Properties

Property Type Description
$defaultTag string

Protected Properties

Property Type Description
$items array
$options array

Public Methods

Method Description
__construct ( array $options = [] )
__toString ( ) : string
item ( string $label, array $options = [] ) : static
render ( string | null $tag = null, array $options = [] ) : string
tag ( string $tag ) : static

Method Details

__construct() public method

public __construct ( array $options = [] )
$options array

__toString() public method

public __toString ( ) : string
return string

item() public method

public item ( string $label, array $options = [] ) : static
$label string
$options array
return static

render() public method

Deprecation:
public render ( string | null $tag = null, array $options = [] ) : string
$tag string | null
$options array
return string

tag() public method

Deprecation: Change html tag.
public tag ( string $tag ) : static
$tag string
return static

Property Details

$defaultTag public static property

Deprecation:
public static string $defaultTag
return string

$items protected property

protected array $items
return array

$options protected property

protected array $options
return array