for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Theme Manager for Yii2
*
* @link https://github.com/hiqdev/yii2-thememanager
* @package yii2-thememanager
* @license BSD-3-Clause
* @copyright Copyright (c) 2015-2017, HiQDev (http://hiqdev.com/)
*/
namespace hiqdev\thememanager\widgets;
use hiqdev\php\collection\ArrayHelper;
use yii\base\Widget;
class FancyPanel extends Widget
{
public $panelClass = 'contactmethod';
* Example: darkgray|blue|green|purple.
* @var string
public $color = 'darkgray';
public $title;
public $content;
public function init()
ob_start();
ob_implicit_flush(false);
}
public function run()
$this->content = ob_get_clean();
return $this->render('FancyPanel', ArrayHelper::toArray($this));