init
This commit is contained in:
parent
7428ff8b8f
commit
9b15ac9fd3
87 changed files with 4975 additions and 1 deletions
14
src/controllers/category.php
Normal file
14
src/controllers/category.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
namespace app\controllers;
|
||||
class category
|
||||
{
|
||||
public static function power_meters($defaults)
|
||||
{
|
||||
echo $GLOBALS['twig']->render('lib/page/index.twig', context: array_merge($defaults, [
|
||||
'child_template' => 'lib/page/category.twig',
|
||||
'page_title' => 'Power Meters - ' . $_ENV['APP_NAME'],
|
||||
'product_category' => 'power_meters',
|
||||
]));
|
||||
}
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue