wikipoints/ground/controllers/YandexController.php

22 lines
336 B
PHP

<?php
class YandexController extends Controller
{
static function actionIndex()
{
$goods = new Goods();
$category = new Category();
$categorySet = $category->getAll();
$goodsSet = $goods->getAll();
self::renderPartial('yandexMarket.php', array(
'categorySet' => $categorySet,
'goodsSet' => $goodsSet,
));
}
}