Blesta Source Documentation

AdminClientsService extends AdminController

Admin Client's Service Management

Table of Contents

Methods

preAction() Admin pre-action
updateTotals() AJAX Retrieves a partial template of totals based on service changes
getPricing() Retrieves package pricing info from the given pricing ID
totals() Builds and returns the totals partial
Methods

updateTotals()

AJAX Retrieves a partial template of totals based on service changes

public updateTotals() : mixed

getPricing()

Retrieves package pricing info from the given pricing ID

private getPricing(int $pricing_id) : mixed
Parameters
$pricing_id : int

The ID of the pricing to fetch

Return values
mixed

An stdClass representing the package pricing, or false if it is invalid

totals()

Builds and returns the totals partial

private totals(PresenterInterface $presenter, string $currency, array<string|int, mixed> $client_settings) : string
Parameters
$presenter : PresenterInterface

An instance of the PresenterInterface

$currency : string

The ISO 4217 currency code

$client_settings : array<string|int, mixed>

A list of client setting

Return values
string

The totals partial template

Tags
subpackage

app.controllers

copyright

Copyright (c) 2015, Phillips Data, Inc.

license

http://www.blesta.com/license/ The Blesta License Agreement

link

Blesta


        
On this page

Search results