Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: b7d131f208
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (19 sloc) 0.581 kb
* Класс для вывода отладочной инфы
class DebugBlock extends ViewPlugin {
protected $context;
* Вывод блока верхней плашки
* @param Template $tpl шаблон, в котором происходит вывод
* @param array $params параметры
function display(Template $tpl){
// Отладочная инфа
$iterations = $this->view->tpl->getIterations();
$tpl->block('/debug/iterations', array('iterations' => print_r($iterations, true)), true);
Jump to Line
Something went wrong with that request. Please try again.