Stringfunctions+ | Formula ATTRVALINHERIT

Description

This formula corresponds to ATTRVAL, but can be configured with inheritance and an optional fixed language ID.

Formula(s)

PHP
{=ATTRVALINHERIT(Attribute;Formatted;Language ID;Inherited values)}
{=ATTRVALINHERIT(Attribute;Medium;Language ID;Inherited values)}

Result

  • String

Parameters

Parameter
Contents
Format
Default value
Explanation

Attribute

Attribute ID or attribute name

Attribute ID: Integer

Attribute name: String

 

 

Formatted

TRUE or FALSE

Boolean

TRUE

TRUE: Formatted

FALSE: Unformatted

Language ID

Language ID

Integer

0

 

Inherited values

TRUE or FALSE

Boolean

FALSE

TRUE: Inherited values will be considered

FALSE: Inherited values will not be considered

Medium

Medium for which the value is to be returned

String

MEDIUM_NONE

Possible values:

  • MEDIUM_NONE

  • MEDIUM_TEXT

  • MEDIUM_HTML

  • MEDIUM_EXPORT

  • MEDIUM_EDITOR

  • MEDIUM_TRANSLATIONMANAGER

  • MEDIUM_MASSEDITOR

  • MEDIUM_API

  • MEDIUM_TABLEAPI

This parameter depends on the CSType implementation. Not every CSType supports all media.