ver. 0.287: Scontainers + ShopAttribute frontend migration to Domain
- Scontainers: frontScontainerDetails() with Redis cache in ScontainersRepository - Scontainers: new front\Views\Scontainers VIEW, deleted factory + view legacy - ShopAttribute: frontAttributeDetails(), frontValueDetails() with Redis cache in AttributeRepository - ShopAttribute: clearFrontCache() per attribute/value + language - ShopAttribute: deleted front\factory\ShopAttribute, updated 4 callers - Tests: 476 OK, 1512 assertions (+6 frontend tests) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
12
autoload/front/Views/Scontainers.php
Normal file
12
autoload/front/Views/Scontainers.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
namespace front\Views;
|
||||
|
||||
class Scontainers
|
||||
{
|
||||
public static function scontainer( $scontainer )
|
||||
{
|
||||
$tpl = new \Shared\Tpl\Tpl;
|
||||
$tpl->scontainer = $scontainer;
|
||||
return $tpl->render( 'scontainers/scontainer' );
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user