Fountain

User Methods

accountUrl()

Return url to account page.

$user->accountUrl();
Returns string

orders

Return

<?php foreach ( $user->orders()->toStructure() as $order ) : ?>
    <?= $order->orderId() ?></dt>
    <?= Html::a( $order->orderTransactionId()->getInvoice(), 'Receipt' ) ?>
    <?= $order->orderLicensee() ?>
    <ul>
    <?php foreach ( $order->orderItems()->toStructure() as $orderItem ) : ?>
        <?php if ( $font = $orderItem->font()->toPage() ) : ?>
            <li><?= $font->title() ?></li>
        <?php endif ?>
    <?php endforeach ?>
    </ul>
<?php endforeach ?>
Returns yaml

Jump do: