Class Mage_Adminhtml_Block_Sales_Items_Abstract

Description

Abstract items renderer

Located in /Adminhtml/Block/Sales/Items/Abstract.php (line 35)

Varien_Object
   |
   --Mage_Core_Block_Abstract
      |
      --Mage_Core_Block_Template
         |
         --Mage_Adminhtml_Block_Template
            |
            --Mage_Adminhtml_Block_Sales_Items_Abstract
Direct descendents
Variable Summary
Method Summary
Mage_Adminhtml_Block_Sales_Items_Abstract addColumnRender (string $column, string $block, string $template, [ $type = null])
Mage_Adminhtml_Block_Sales_Items_Abstract addItemRender (string $type, string $block, string $template)
void canCapture ()
boolean canEditQty ()
boolean canShipPartially ([Mage_Sales_Model_Order|null $order = null])
boolean canShipPartiallyItem ([Mage_Sales_Model_Order|null $order = null])
string displayPriceAttribute (string $code, [bool $strong = false], [string $separator = '<br />'])
string displayPriceInclTax ( $item)
string displayPrices (float $basePrice, float $price, [bool $strong = false], [string $separator = '<br />'])
string displayRoundedPrices (float $basePrice, float $price, [int $precision = 2], [bool $strong = false], [string $separator = '<br />'])
string displaySubtotalInclTax (Varien_Object $item)
string displayTaxCalculation ( $item)
string displayTaxPercent ( $item)
void formatPrice ( $price)
string getColumnHtml ( $item, string $column, [string $field = null])
Mage_Core_Block_Abstract getColumnRenderer (string $column, [string $compositePart = ''])
void getCreditmemo ()
Mage_Sales_Model_Invoice getInvoice ()
string getItemExtraInfoHtml ( $item)
string getItemHtml ( $item)
void _construct ()
Variables
Methods
addColumnRender (line 101)

Add column renderer

  • access: public
Mage_Adminhtml_Block_Sales_Items_Abstract addColumnRender (string $column, string $block, string $template, [ $type = null])
  • string $column
  • string $block
  • string $template
  • $type
addItemRender (line 83)

Add item renderer

  • access: public
Mage_Adminhtml_Block_Sales_Items_Abstract addItemRender (string $type, string $block, string $template)
  • string $type
  • string $block
  • string $template
canCapture (line 487)
  • access: public
void canCapture ()

Redefined in descendants as:
canCreateShipment (line 436)

Check shipment availability for current invoice

  • access: public
bool canCreateShipment ()

Redefined in descendants as:
canEditQty (line 463)

Check availability to edit quantity of item

  • access: public
boolean canEditQty ()

Redefined in descendants as:
canParentReturnToStock (line 559)

Whether to show 'Return to stock' column for item parent

  • access: public
bool canParentReturnToStock ([Mage_Sales_Model_Order_Creditmemo_Item $item = null])
canReturnItemToStock (line 538)

Whether to show 'Return to stock' checkbox for item

  • access: public
bool canReturnItemToStock ([Mage_Sales_Model_Order_Creditmemo_Item $item = null])
canReturnToStock (line 524)

CREDITMEMO

  • access: public
void canReturnToStock ()

Redefined in descendants as:
canShipPartially (line 578)

Return true if can ship partially

  • access: public
boolean canShipPartially ([Mage_Sales_Model_Order|null $order = null])
canShipPartiallyItem (line 596)

Return true if can ship items partially

  • access: public
boolean canShipPartiallyItem ([Mage_Sales_Model_Order|null $order = null])
displayPriceAttribute (line 286)

Retrieve price attribute html content

  • access: public
string displayPriceAttribute (string $code, [bool $strong = false], [string $separator = '<br />'])
  • string $code
  • bool $strong
  • string $separator
displayPriceInclTax (line 353)

Retrieve include tax html formated content

  • access: public
string displayPriceInclTax ( $item)
  • Varien_Object $item
displayPrices (line 315)

Retrieve price formated html content

  • access: public
string displayPrices (float $basePrice, float $price, [bool $strong = false], [string $separator = '<br />'])
  • float $basePrice
  • float $price
  • bool $strong
  • string $separator
displayRoundedPrices (line 330)

Display base and regular prices with specified rounding precision

  • access: public
string displayRoundedPrices (float $basePrice, float $price, [int $precision = 2], [bool $strong = false], [string $separator = '<br />'])
  • float $basePrice
  • float $price
  • int $precision
  • bool $strong
  • string $separator
displaySubtotalInclTax (line 379)

Retrieve subtotal price include tax html formated content

  • access: public
string displaySubtotalInclTax (Varien_Object $item)
  • Varien_Object $item
displayTaxCalculation (line 396)

Retrieve tax calculation html content

  • access: public
string displayTaxCalculation ( $item)
  • Varien_Object $item
displayTaxPercent (line 418)

Retrieve tax with persent html content

  • access: public
string displayTaxPercent ( $item)
  • Varien_Object $item
getColumnHtml (line 205)

Retrieve rendered column html content

  • access: public
string getColumnHtml ( $item, string $column, [string $field = null])
  • Varien_Object $item
  • string $column: the column key
  • string $field: the custom item field
getColumnRenderer (line 143)

Retrieve column renderer block

  • access: public
Mage_Core_Block_Abstract getColumnRenderer (string $column, [string $compositePart = ''])
  • string $column
  • string $compositePart
getCreditmemo (line 223)
  • access: public
void getCreditmemo ()

Redefined in descendants as:
getInvoice (line 515)

Retrieve invoice model instance

  • access: public
Mage_Sales_Model_Invoice getInvoice ()

Redefined in descendants as:
getItemExtraInfoHtml (line 186)

Retrieve rendered item extra info html content

  • access: public
string getItemExtraInfoHtml ( $item)
  • Varien_Object $item
getItemHtml (line 166)

Retrieve rendered item html content

  • access: public
string getItemHtml ( $item)
  • Varien_Object $item
getItemRenderer (line 120)

Retrieve item renderer block

  • access: public
Mage_Core_Block_Abstract getItemRenderer (string $type)
  • string $type
getPriceDataObject (line 269)

Retrieve price data object

  • access: public
Mage_Sales_Model_Order getPriceDataObject ()
isShipmentRegular (line 608)
  • access: public
void isShipmentRegular ()
setCanEditQty (line 453)

Setter for flag _canEditQty

  • see: self::_canEditQty
  • see: self::canEditQty
  • access: public
  • $value
_construct (line 68)

Init block

  • access: protected
void _construct ()

Redefinition of:
Mage_Core_Block_Template::_construct()
Internal constructor, that is called from real constructor

Inherited Methods

Inherited From Mage_Adminhtml_Block_Template

Mage_Adminhtml_Block_Template::getFormKey()
Mage_Adminhtml_Block_Template::isOutputEnabled()
Mage_Adminhtml_Block_Template::_getUrlModelClass()
Mage_Adminhtml_Block_Template::_toHtml()

Inherited From Mage_Core_Block_Template

Mage_Core_Block_Template::assign()
Mage_Core_Block_Template::fetchView()
Mage_Core_Block_Template::getArea()
Mage_Core_Block_Template::getBaseUrl()
Mage_Core_Block_Template::getCacheKeyInfo()
Mage_Core_Block_Template::getDirectOutput()
Mage_Core_Block_Template::getJsUrl()
Mage_Core_Block_Template::getObjectData()
Mage_Core_Block_Template::getShowTemplateHints()
Mage_Core_Block_Template::getTemplate()
Mage_Core_Block_Template::getTemplateFile()
Mage_Core_Block_Template::renderView()
Mage_Core_Block_Template::setScriptPath()
Mage_Core_Block_Template::setTemplate()
Mage_Core_Block_Template::_construct()
Mage_Core_Block_Template::_toHtml()

Inherited From Mage_Core_Block_Abstract

Mage_Core_Block_Abstract::addToChildGroup()
Mage_Core_Block_Abstract::addToParentGroup()
Mage_Core_Block_Abstract::append()
Mage_Core_Block_Abstract::countChildren()
Mage_Core_Block_Abstract::escapeHtml()
Mage_Core_Block_Abstract::escapeUrl()
Mage_Core_Block_Abstract::formatDate()
Mage_Core_Block_Abstract::formatTime()
Mage_Core_Block_Abstract::getAction()
Mage_Core_Block_Abstract::getAnonSuffix()
Mage_Core_Block_Abstract::getBlockAlias()
Mage_Core_Block_Abstract::getBlockHtml()
Mage_Core_Block_Abstract::getCacheKey()
Mage_Core_Block_Abstract::getCacheKeyInfo()
Mage_Core_Block_Abstract::getCacheLifetime()
Mage_Core_Block_Abstract::getCacheTags()
Mage_Core_Block_Abstract::getChild()
Mage_Core_Block_Abstract::getChildChildHtml()
Mage_Core_Block_Abstract::getChildData()
Mage_Core_Block_Abstract::getChildGroup()
Mage_Core_Block_Abstract::getChildHtml()
Mage_Core_Block_Abstract::getHelper()
Mage_Core_Block_Abstract::getIsAnonymous()
Mage_Core_Block_Abstract::getLayout()
Mage_Core_Block_Abstract::getMessagesBlock()
Mage_Core_Block_Abstract::getModuleName()
Mage_Core_Block_Abstract::getNameInLayout()
Mage_Core_Block_Abstract::getParentBlock()
Mage_Core_Block_Abstract::getRequest()
Mage_Core_Block_Abstract::getSkinUrl()
Mage_Core_Block_Abstract::getSortedChildBlocks()
Mage_Core_Block_Abstract::getSortedChildren()
Mage_Core_Block_Abstract::getUrl()
Mage_Core_Block_Abstract::getUrlBase64()
Mage_Core_Block_Abstract::getUrlEncoded()
Mage_Core_Block_Abstract::helper()
Mage_Core_Block_Abstract::htmlEscape()
Mage_Core_Block_Abstract::insert()
Mage_Core_Block_Abstract::jsQuoteEscape()
Mage_Core_Block_Abstract::setAnonSuffix()
Mage_Core_Block_Abstract::setAttribute()
Mage_Core_Block_Abstract::setBlockAlias()
Mage_Core_Block_Abstract::setChild()
Mage_Core_Block_Abstract::setFrameTags()
Mage_Core_Block_Abstract::setIsAnonymous()
Mage_Core_Block_Abstract::setLayout()
Mage_Core_Block_Abstract::setMessagesBlock()
Mage_Core_Block_Abstract::setNameInLayout()
Mage_Core_Block_Abstract::setParentBlock()
Mage_Core_Block_Abstract::stripTags()
Mage_Core_Block_Abstract::toHtml()
Mage_Core_Block_Abstract::unsetCallChild()
Mage_Core_Block_Abstract::unsetChild()
Mage_Core_Block_Abstract::unsetChildren()
Mage_Core_Block_Abstract::urlEscape()
Mage_Core_Block_Abstract::_afterCacheUrl()
Mage_Core_Block_Abstract::_afterToHtml()
Mage_Core_Block_Abstract::_beforeCacheUrl()
Mage_Core_Block_Abstract::_beforeChildToHtml()
Mage_Core_Block_Abstract::_beforeToHtml()
Mage_Core_Block_Abstract::_construct()
Mage_Core_Block_Abstract::_getChildHtml()
Mage_Core_Block_Abstract::_getUrlModel()
Mage_Core_Block_Abstract::_getUrlModelClass()
Mage_Core_Block_Abstract::_loadCache()
Mage_Core_Block_Abstract::_prepareLayout()
Mage_Core_Block_Abstract::_saveCache()
Mage_Core_Block_Abstract::_toHtml()
Mage_Core_Block_Abstract::__()
Class Constants

Documentation generated on Fri, 11 Feb 2011 16:55:06 +0200 by phpDocumentor 1.4.3