Skip to content

exru/yii2-widgetto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Yii2 widgetto

This is simple widget allows to replace peases in HTML code; For example:

<?=
	Widgetto::widget([
		'html'=>'<div>[[foo_widget {"passing_param":"123"}]]</div>',
		'widgets'=>[
			'foo_widget'=>[
				'class'=>'\common\widgets\MyWidget',
			]
		]
	]); //will output something like "<div>123</div>"
?>

The example is very simple. You may using this widget for another wide tasks.

About

Wrapper for nested widgets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages