Usage: echo GithubPlugin::widget([ 'type' => GithubPlugin::WATCH, 'settings' => ['user' => 'GITHUB_USER', 'repo' => 'GITHUB_REPO'] ]);
See also: http://ghbtns.com/
Since: 1.0
Author: Kartik Visweswaran (kartikv2@gmail.com)
Inheritance: extends Widget
Beispiel #1
0
						<p><?php 
echo Html::a('PlayList &raquo;', 'https://www.youtube.com/playlist?list=PLMyGpiUTm10799F8FfSai3wvlL4DB4qqX', ['class' => 'btn btn-default', 'target' => '_blank']);
?>
</p>
					</div>
					<div class="col-lg-4"><!-- <div class="span4">  -->
						<h2>Step 2</h2>
						<p>
							If you've gotten this far, you have already seen the first video
							and are ready for more.<br /> We will be coding our site pretty
							heavily and you will find the code on github.
						</p>
						  
                         <p><?php 
echo GithubPlugin::widget(['type' => GithubPlugin::FOLLOW, 'settings' => ['user' => 'tskmatrix', 'repo' => 'yiicomm', 'size' => 'large', 'count' => 'true']]);
?>
</p> 
                        
						<p><?php 
echo Html::a('GitHub &raquo;', 'https://github.com/tskmatrix/yiicomm', ['class' => 'btn btn-default', 'target' => '_blank']);
?>
</p>
					</div>
					<div class="col-lg-4"> <!-- <div class="span4"> -->
						<h2>Step 3</h2>

						<p>Now you may add additional extensions to your site. Be sure
							that they are for Yii 2.0.</p>

						<p><?php