first commit
This commit is contained in:
12
autoload/front/view/class.ShopOrder.php
Normal file
12
autoload/front/view/class.ShopOrder.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
namespace front\view;
|
||||
class ShopOrder
|
||||
{
|
||||
public static function order_details( $values )
|
||||
{
|
||||
$tpl = new \Tpl;
|
||||
if ( is_array( $values ) ) foreach ( $values as $key => $val )
|
||||
$tpl -> $key = $val;
|
||||
return $tpl -> render( 'shop-order/order-details' );
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user