Blesta Source Documentation

ReassignPricingPackages extends ReassignPricingModel

ReassignPricingPackages model

Table of Contents

Methods

getCompatible() Retrieves a list of packages that are compatible with the given module
getPackagePricing() Fetches all pricing for the given package
Methods

getCompatible()

Retrieves a list of packages that are compatible with the given module

public getCompatible(int $module_id) : mixed
Parameters
$module_id : int

The ID of the module whose packgaes to fetch

getPackagePricing()

Fetches all pricing for the given package

private getPackagePricing(int $package_id) : array<string|int, mixed>
Parameters
$package_id : int

The package ID to fetch pricing for

Return values
array<string|int, mixed>

An array of stdClass objects representing package pricing

Tags
subpackage

plugins.reassignpricing

copyright

Copyright (c) 2015, Phillips Data, Inc.

license

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

link

Blesta


        
On this page

Search results