<?php
/**
 * Description
 *
 * @author Denis Chenu <denis@sondages.pro>
 * @copyright 2016 Denis Chenu <http://www.sondages.pro>
 * @license WTFPL/LPRAB
 * @version 0.0.1
 *
 * You just DO WHAT THE FUCK YOU WANT TO.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */
class traceVarTest extends PluginBase
{

  protected $storage = 'DbStorage';

  static protected $name = 'traceVarTest';
  static protected $description = 'tracevar (Yii::log) in admin GUI';

  public function init() {
    $this->subscribe('beforeControllerAction', 'traceVar');
  }
  public function traceVar()
  {
    tracevar("did you see this");
  }
}
