Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (\Magento\Framework\View\Element\Template\Context $context, \Magento\Tax\Helper\Data $taxHelper, PriceCurrencyInterface $priceCurrency, \Magento\Weee\Helper\Data $weeeHelper, array $data=[]) | |
displayPriceWithWeeeDetails () | |
getIncludeWeeeFlag () | |
getUnitDisplayPriceInclTax () | |
getBaseUnitDisplayPriceInclTax () | |
getRowDisplayPriceInclTax () | |
getBaseRowDisplayPriceInclTax () | |
getUnitDisplayPriceExclTax () | |
getBaseUnitDisplayPriceExclTax () | |
getRowDisplayPriceExclTax () | |
getBaseRowDisplayPriceExclTax () | |
getFinalUnitDisplayPriceInclTax () | |
getBaseFinalUnitDisplayPriceInclTax () | |
getFinalRowDisplayPriceInclTax () | |
getBaseFinalRowDisplayPriceInclTax () | |
getFinalUnitDisplayPriceExclTax () | |
getBaseFinalUnitDisplayPriceExclTax () | |
getFinalRowDisplayPriceExclTax () | |
getBaseFinalRowDisplayPriceExclTax () | |
displayFinalPrice () | |
getTotalAmount ($item) | |
getBaseTotalAmount ($item) | |
![]() | |
__construct (Context $context, TaxHelper $taxHelper, PriceCurrencyInterface $priceCurrency, array $data=[]) | |
setItem ($item) | |
getZone () | |
setZone ($zone) | |
getStoreId () | |
getItem () | |
displayPriceInclTax () | |
displayPriceExclTax () | |
displayBothPrices () | |
formatPrice ($price) | |
getItemDisplayPriceExclTax () | |
getTotalAmount ($item) | |
getBaseTotalAmount ($item) | |
![]() | |
__construct (Template\Context $context, array $data=[]) | |
setTemplateContext ($templateContext) | |
getTemplate () | |
setTemplate ($template) | |
getTemplateFile ($template=null) | |
getArea () | |
assign ($key, $value=null) | |
fetchView ($fileName) | |
getBaseUrl () | |
getObjectData (\Magento\Framework\DataObject $object, $key) | |
getCacheKeyInfo () | |
![]() | |
__construct (\Magento\Framework\View\Element\Context $context, array $data=[]) | |
getJsLayout () | |
getRequest () | |
getParentBlock () | |
setLayout (\Magento\Framework\View\LayoutInterface $layout) | |
getLayout () | |
setNameInLayout ($name) | |
getChildNames () | |
setAttribute ($name, $value=null) | |
setChild ($alias, $block) | |
addChild ($alias, $block, $data=[]) | |
unsetChild ($alias) | |
unsetCallChild ($alias, $callback, $result, $params) | |
unsetChildren () | |
getChildBlock ($alias) | |
getChildHtml ($alias='', $useCache=true) | |
getChildChildHtml ($alias, $childChildAlias='', $useCache=true) | |
getBlockHtml ($name) | |
insert ($element, $siblingName=0, $after=true, $alias='') | |
append ($element, $alias='') | |
getGroupChildNames ($groupName) | |
getChildData ($alias, $key='') | |
getUiId ($arg1=null, $arg2=null, $arg3=null, $arg4=null, $arg5=null) | |
getJsId ($arg1=null, $arg2=null, $arg3=null, $arg4=null, $arg5=null) | |
getUrl ($route='', $params=[]) | |
getViewFileUrl ($fileId, array $params=[]) | |
formatDate ( $date=null, $format=\IntlDateFormatter::SHORT, $showTime=false, $timezone=null) | |
formatTime ( $time=null, $format=\IntlDateFormatter::SHORT, $showDate=false) | |
getModuleName () | |
escapeHtml ($data, $allowedTags=null) | |
escapeJs ($string) | |
escapeHtmlAttr ($string, $escapeSingleQuote=true) | |
escapeCss ($string) | |
stripTags ($data, $allowableTags=null, $allowHtmlEntities=false) | |
escapeUrl ($string) | |
escapeXssInUrl ($data) | |
escapeQuote ($data, $addSlashes=false) | |
escapeJsQuote ($data, $quote='\'') | |
getNameInLayout () | |
getCacheKeyInfo () | |
getCacheKey () | |
getVar ($name, $module=null) | |
isScopePrivate () | |
![]() | |
__construct (array $data=[]) | |
addData (array $arr) | |
setData ($key, $value=null) | |
unsetData ($key=null) | |
getData ($key='', $index=null) | |
getDataByPath ($path) | |
getDataByKey ($key) | |
setDataUsingMethod ($key, $args=[]) | |
getDataUsingMethod ($key, $args=null) | |
hasData ($key='') | |
toArray (array $keys=[]) | |
convertToArray (array $keys=[]) | |
toXml (array $keys=[], $rootName='item', $addOpenTag=false, $addCdata=true) | |
convertToXml (array $arrAttributes=[], $rootName='item', $addOpenTag=false, $addCdata=true) | |
toJson (array $keys=[]) | |
convertToJson (array $keys=[]) | |
toString ($format='') | |
__call ($method, $args) | |
isEmpty () | |
serialize ($keys=[], $valueSeparator='=', $fieldSeparator=' ', $quote='"') | |
debug ($data=null, &$objects=[]) | |
offsetSet ($offset, $value) | |
offsetExists ($offset) | |
offsetUnset ($offset) | |
offsetGet ($offset) | |
![]() | |
toHtml () | |
Protected Attributes | |
$weeeHelper | |
![]() | |
$taxHelper | |
$item | |
$storeId = null | |
$zone = null | |
$priceCurrency | |
![]() | |
$_viewVars = [] | |
$_baseUrl | |
$_jsUrl | |
$_allowSymlinks | |
$_filesystem | |
$_template | |
$templateEnginePool | |
$_storeManager | |
$_appState | |
$directory | |
$templateContext | |
$pageConfig | |
$resolver | |
$validator | |
![]() | |
$_design | |
$_session | |
$_sidResolver | |
$_nameInLayout | |
$_layout | |
$jsLayout = [] | |
$_request | |
$_urlBuilder | |
$_eventManager | |
$_frontController | |
$_assetRepo | |
$_viewConfig | |
$_cacheState | |
$_logger | |
$_escaper | |
$filterManager | |
$_localeDate | |
$inlineTranslation | |
$_isScopePrivate = false | |
$_scopeConfig | |
$_cache | |
![]() | |
$_data = [] | |
Additional Inherited Members | |
![]() | |
static | extractModuleName ($className) |
![]() | |
const | XML_PATH_TEMPLATE_ALLOW_SYMLINK = 'dev/template/allow_symlink' |
![]() | |
const | CACHE_GROUP = \Magento\Framework\App\Cache\Type\Block::TYPE_IDENTIFIER |
const | CACHE_KEY_PREFIX = 'BLOCK_' |
![]() | |
_construct () | |
_toHtml () | |
getRootDirectory () | |
getMediaDirectory () | |
![]() | |
_construct () | |
_prepareLayout () | |
_beforeToHtml () | |
_afterToHtml ($html) | |
_toHtml () | |
_getNotFoundUrl ($route='', $params=['_direct'=> 'core/index/notFound']) | |
getCacheTags () | |
getCacheLifetime () | |
_loadCache () | |
_saveCache ($data) | |
_getSidPlaceholder ($cacheKey=null) | |
![]() | |
_getData ($key) | |
_underscore ($name) | |
![]() | |
static | $_underscoreCache = [] |
__construct | ( | \Magento\Framework\View\Element\Template\Context | $context, |
\Magento\Tax\Helper\Data | $taxHelper, | ||
PriceCurrencyInterface | $priceCurrency, | ||
\Magento\Weee\Helper\Data | $weeeHelper, | ||
array | $data = [] |
||
) |
\Magento\Framework\View\Element\Template\Context | $context | |
\Magento\Tax\Helper\Data | $taxHelper | |
PriceCurrencyInterface | $priceCurrency | |
\Magento\Weee\Helper\Data | $weeeHelper | |
array | $data |
Definition at line 35 of file Renderer.php.
displayFinalPrice | ( | ) |
Whether to display final price that include Weee amounts
Definition at line 401 of file Renderer.php.
displayPriceWithWeeeDetails | ( | ) |
Whether to display weee details together with price
Definition at line 52 of file Renderer.php.
getBaseFinalRowDisplayPriceExclTax | ( | ) |
Get base final row display price excluding tax, this will add Weee amount to rowTotal
Definition at line 385 of file Renderer.php.
getBaseFinalRowDisplayPriceInclTax | ( | ) |
Get base final row display price including tax, this will add weee amount to rowTotalInclTax
Definition at line 315 of file Renderer.php.
getBaseFinalUnitDisplayPriceExclTax | ( | ) |
Get base final unit display price excluding tax
Definition at line 347 of file Renderer.php.
getBaseFinalUnitDisplayPriceInclTax | ( | ) |
Get base final unit display price including tax, this will add Weee amount to unit price include tax
Definition at line 283 of file Renderer.php.
getBaseRowDisplayPriceExclTax | ( | ) |
Get base price for row total excluding tax. The Weee amount will be added to row total depending on Weee display setting
Definition at line 247 of file Renderer.php.
getBaseRowDisplayPriceInclTax | ( | ) |
Get base price for row total including tax. The Weee amount will be added to row total including tax depending on Weee display setting
Definition at line 157 of file Renderer.php.
getBaseTotalAmount | ( | $item | ) |
Return the total amount minus discount
OrderItem | InvoiceItem | CreditMemoItem | $item |
Definition at line 442 of file Renderer.php.
getBaseUnitDisplayPriceExclTax | ( | ) |
Get base price for unit price excluding tax. The Weee amount will be added to unit price depending on Weee display setting
Definition at line 199 of file Renderer.php.
getBaseUnitDisplayPriceInclTax | ( | ) |
Get base price for unit price including tax. The Weee amount will be added to unit price including tax depending on Weee display setting
Definition at line 115 of file Renderer.php.
getFinalRowDisplayPriceExclTax | ( | ) |
Get final row display price excluding tax, this will add Weee amount to rowTotal
Definition at line 369 of file Renderer.php.
getFinalRowDisplayPriceInclTax | ( | ) |
Get final row display price including tax, this will add weee amount to rowTotalInclTax
Definition at line 299 of file Renderer.php.
getFinalUnitDisplayPriceExclTax | ( | ) |
Get final unit display price excluding tax
Definition at line 331 of file Renderer.php.
getFinalUnitDisplayPriceInclTax | ( | ) |
Get final unit display price including tax, this will add Weee amount to unit price include tax
Definition at line 267 of file Renderer.php.
getIncludeWeeeFlag | ( | ) |
Return the flag whether to include weee in the price
Definition at line 78 of file Renderer.php.
getRowDisplayPriceExclTax | ( | ) |
Get display price for row total excluding tax. The Weee amount will be added to row total depending on Weee display setting
Definition at line 226 of file Renderer.php.
getRowDisplayPriceInclTax | ( | ) |
Get display price for row total including tax. The Weee amount will be added to row total including tax depending on Weee display setting
Definition at line 136 of file Renderer.php.
getTotalAmount | ( | $item | ) |
Return the total amount minus discount
OrderItem | InvoiceItem | CreditMemoItem | $item |
Definition at line 425 of file Renderer.php.
getUnitDisplayPriceExclTax | ( | ) |
Get display price for unit price excluding tax. The Weee amount will be added to unit price depending on Weee display setting
Definition at line 178 of file Renderer.php.
getUnitDisplayPriceInclTax | ( | ) |
Get display price for unit price including tax. The Weee amount will be added to unit price including tax depending on Weee display setting
Definition at line 94 of file Renderer.php.
|
protected |
Definition at line 26 of file Renderer.php.