$amount
$amount :integer
MainImage(): \FAA\Obj\Generic\Asset|null
Get main image
GetTrailPriceFormatted(integer $count = 1,boolean $tax = false,string $dec = ',',string $tho = '.'): string
Get formatted trail price of instance
integer | $count | The multiplier |
boolean | $tax | Include taxes? |
string | $dec | The decimal seperator |
string | $tho | The thousands seperator |
The formatted price
GetPriceFormated(integer $count = 1,boolean $tax = false,string $dec = ',',string $tho = '.'): string
Get formatted price of instance
integer | $count | The multiplier |
boolean | $tax | Include taxes? |
string | $dec | The decimal seperator |
string | $tho | The thousands seperator |
The formatted price
BundleArticles(boolean $resolve = false,boolean $plain_language = false): array
Get bundle articles
Fetch the bundle articles as raw list or, resolved
boolean | $resolve | When true, resolve sub content |
boolean | $plain_language | When given, translate it |
The list of children when it is a bundle
ToPlainObject(string $language = null,boolean $with_parent = true,boolean $recurse = true): \stdClass
Convert to plain data set
Translate and expose the current data attribute as plain resolved object
string | $language | A system language code or empty for raw setup |
boolean | $with_parent | When set to true the attributes will be resolved witch parent attributes included |
boolean | $recurse | When true, resolve child contents as well |
A simple attribute based php object
AssignImage(\FAA\Obj\Generic\Asset $asset): \FAA\Obj\Result
Assign an image
\FAA\Obj\Generic\Asset | $asset | An asset instance |
The result object
ToLocalDataJson(\FAA\Obj\Request $request,array $org = null): string
Convert to json
Generate a json ld entry of the given element
\FAA\Obj\Request | $request | A system request |
array | $org | Additional information about the organisation |
The json-ld content