Blesta Source Documentation

AbstractDescription implements DescriptionInterface

AbstractYes

Abstract class for descriptions

Attributes
#[AllowDynamicProperties]
Table of Contents

Interfaces

DescriptionInterface Description interface

Properties

$date
$options

Methods

__construct() Init
_() Shortcut for Language::_()
getProrateFields() Retrieves a set of proration meta fields used in the descriptions
Properties

$options

protected array<string|int, mixed> $options

An array of options used to construct the presenter

Methods

__construct()

Init

public __construct(Date $date[, array<string|int, mixed> $options = [] ]) : mixed
Parameters
$date : Date
$options : array<string|int, mixed> = []

_()

Shortcut for Language::_()

protected _(string $name) : mixed
Parameters
$name : string

The name of the language key to fetch

getProrateFields()

Retrieves a set of proration meta fields used in the descriptions

protected getProrateFields(array<string|int, mixed> $meta) : array<string|int, mixed>
Parameters
$meta : array<string|int, mixed>

An array of meta information

Return values
array<string|int, mixed>

An array of prorate fields

Tags
subpackage

core.Pricing.Modifier.Type.Description.Type

copyright

Copyright (c) 2019, Phillips Data, Inc.

license

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

link

Blesta


        
On this page

Search results