/**
* Review helper
*
* @category Mage
* @package Mage_Review
* @author Magento Core Team
*/
Object of class [ class Mage_Review_Block_Helper extends Mage_Core_Block_Template ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Review/Block/Helper.php 28-84
- Constants [0] {
}
- Static properties [5] {
Property [ protected static $_showTemplateHints ]
Property [ protected static $_showTemplateHintsBlocks ]
Property [ protected static $_urlModel ]
Property [ protected static $_underscoreCache ]
Property [ protected static $_camelizeCache ]
}
- Static methods [0] {
}
- Properties [21] {
Property [ private $_availableTemplates ]
Property [ protected $_viewDir ]
Property [ protected $_viewVars ]
Property [ protected $_baseUrl ]
Property [ protected $_jsUrl ]
Property [ protected $_name ]
Property [ protected $_layout ]
Property [ protected $_parent ]
Property [ protected $_alias ]
Property [ protected $_anonSuffix ]
Property [ protected $_children ]
Property [ protected $_sortedChildren ]
Property [ protected $_childrenHtmlCache ]
Property [ protected $_request ]
Property [ protected $_messagesBlock ]
Property [ protected $_isAnonymous ]
Property [ protected $_parentBlock ]
Property [ protected $_data ]
Property [ protected $_origData ]
Property [ protected $_idFieldName ]
Property [ protected $_isDeleted ]
}
- Dynamic properties [0] {
}
- Methods [109] {
Method [ public method getSummaryHtml ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Review/Block/Helper.php 35 - 52
- Parameters [3] {
Parameter #0 [ $product ]
Parameter #1 [ $templateType ]
Parameter #2 [ $displayIfNoReviews ]
}
}
Method [ public method getRatingSummary ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Review/Block/Helper.php 54 - 57
}
Method [ public method getReviewsCount ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Review/Block/Helper.php 59 - 62
}
Method [ public method getReviewsUrl ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Review/Block/Helper.php 64 - 70
}
/**
* Add an available template by type
*
* It should be called before getSummaryHtml()
*
* @param string $type
* @param string $template
*/
Method [ public method addTemplate ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Review/Block/Helper.php 80 - 83
- Parameters [2] {
Parameter #0 [ $type ]
Parameter #1 [ $template ]
}
}
Method [ public method getTemplate ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Template.php 53 - 56
}
Method [ public method getArea ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Template.php 58 - 61
}
/**
* Assign variable
*
* @param string|array $key
* @param mixed $value
* @return Mage_Core_Block_Template
*/
Method [ public method assign ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Template.php 70 - 81
- Parameters [2] {
Parameter #0 [ $key ]
Parameter #1 [ $value = NULL ]
}
}
/**
* Set template location dire
*
* @param string $dir
* @return Mage_Core_Block_Template
*/
Method [ public method setScriptPath ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Template.php 89 - 93
- Parameters [1] {
Parameter #0 [ $dir ]
}
}
Method [ public method getDirectOutput ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Template.php 95 - 101
}
Method [ public method getShowTemplateHints ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Template.php 103 - 112
}
/**
* Retrieve block view from file (template)
*
* @param string $fileName
* @return string
*/
Method [ public method fetchView ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Template.php 120 - 151
- Parameters [1] {
Parameter #0 [ $fileName ]
}
}
/**
* Render block
*
* @return string
*/
Method [ public method renderView ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Template.php 158 - 175
}
/**
* Render block HTML
*
* @return string
*/
Method [ protected method _toHtml ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Template.php 182 - 189
}
/**
* Get base url of the application
*
* @return string
*/
Method [ public method getBaseUrl ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Template.php 196 - 202
}
/**
* Get url of base javascript file
*
* To get url of skin javascript file use getSkinUrl()
*
* @param string $fileName
* @return string
*/
Method [ public method getJsUrl ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Template.php 212 - 218
- Parameters [1] {
Parameter #0 [ $fileName = '' ]
}
}
/**
* Internal constructor, that is called from real constructor
*
* Please override this one instead of overriding real __construct constructor
*
*/
Method [ protected method _construct ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 128 - 133
}
/**
* Retrieve request object
*
* @return Zend_Controller_Request_Http
*/
Method [ public method getRequest ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 140 - 149
}
/**
* Retrieve parent block
*
* @return Mage_Core_Block_Abstract
*/
Method [ public method getParentBlock ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 156 - 159
}
/**
* Set parent block
*
* @param Mage_Core_Block_Abstract $block
* @return Mage_Core_Block_Abstract
*/
Method [ public method setParentBlock ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 167 - 171
- Parameters [1] {
Parameter #0 [ Mage_Core_Block_Abstract $block ]
}
}
/**
* Retrieve current action object
*
* @return Mage_Core_Controller_Varien_Action
*/
Method [ public method getAction ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 178 - 181
}
/**
* Set layout object
*
* @param Mage_Core_Model_Layout $layout
* @return Mage_Core_Block_Abstract
*/
Method [ public method setLayout ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 189 - 196
- Parameters [1] {
Parameter #0 [ Mage_Core_Model_Layout $layout ]
}
}
/**
* Preparing global layout
*
* You can redefine this method in child classes for changin layout
*
* @return Mage_Core_Block_Abstract
*/
Method [ protected method _prepareLayout ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 205 - 208
}
/**
* Retrieve layout object
*
* @return Mage_Core_Model_Layout
*/
Method [ public method getLayout ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 215 - 218
}
Method [ public method getIsAnonymous ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 220 - 223
}
Method [ public method setIsAnonymous ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 225 - 229
- Parameters [1] {
Parameter #0 [ $flag ]
}
}
Method [ public method getAnonSuffix ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 231 - 234
}
Method [ public method setAnonSuffix ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 236 - 240
- Parameters [1] {
Parameter #0 [ $suffix ]
}
}
Method [ public method getBlockAlias ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 242 - 245
}
Method [ public method setBlockAlias ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 247 - 251
- Parameters [1] {
Parameter #0 [ $alias ]
}
}
Method [ public method getName ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 253 - 256
}
Method [ public method setName ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 258 - 267
- Parameters [1] {
Parameter #0 [ $name ]
}
}
Method [ public method getSortedChildren ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 269 - 272
}
/**
* Set block attribute value
*
* Wrapper for method "setData"
*
* @param string $name
* @param mixed $value
* @return Mage_Core_Block_Abstract
*/
Method [ public method setAttribute ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 283 - 286
- Parameters [2] {
Parameter #0 [ $name ]
Parameter #1 [ $value = NULL ]
}
}
/**
* Set child block
*
* @param string $name
* @param Mage_Core_Block_Abstract $block
* @return Mage_Core_Block_Abstract
*/
Method [ public method setChild ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 295 - 332
- Parameters [2] {
Parameter #0 [ $alias ]
Parameter #1 [ $block ]
}
}
/**
* Unset child block
*
* @param string $name
* @return Mage_Core_Block_Abstract
*/
Method [ public method unsetChild ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 340 - 354
- Parameters [1] {
Parameter #0 [ $alias ]
}
}
/**
* Call a child and unset it, if callback matched result
*
* $params will pass to child callback
* $params may be array, if called from layout with elements with same name, for example:
* ...value_1value_2value_3
*
* Or, if called like this:
* ...value_1value_2value_3
* - then it will be $params1, $params2, $params3
*
* It is no difference anyway, because they will be transformed in appropriate way.
*
* @param string $alias
* @param string $callback
* @param mixed $result
* @param array $params
* @return Mage_Core_Block_Abstract
*/
Method [ public method unsetCallChild ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 375 - 392
- Parameters [4] {
Parameter #0 [ $alias ]
Parameter #1 [ $callback ]
Parameter #2 [ $result ]
Parameter #3 [ $params ]
}
}
/**
* Unset all children blocks
*
* @return Mage_Core_Block_Abstract
*/
Method [ public method unsetChildren ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 399 - 404
}
/**
* Retrieve child block by name
*
* @param string $name
* @return mixed
*/
Method [ public method getChild ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 412 - 420
- Parameters [1] {
Parameter #0 [ $name = '' ]
}
}
/**
* Retrieve child block HTML
*
* @param string $name
* @param boolean $useCache
* @return string
*/
Method [ public method getChildHtml ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 429 - 448
- Parameters [3] {
Parameter #0 [ $name = '' ]
Parameter #1 [ $useCache = true ]
Parameter #2 [ $sorted = false ]
}
}
Method [ public method getChildChildHtml ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 450 - 460
- Parameters [4] {
Parameter #0 [ $name ]
Parameter #1 [ $childName = '' ]
Parameter #2 [ $useCache = true ]
Parameter #3 [ $sorted = false ]
}
}
/**
* Obtain sorted child blocks
*
* @return array
*/
Method [ public method getSortedChildBlocks ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 467 - 474
}
/**
* Retrieve child block HTML
*
* @param string $name
* @param boolean $useCache
* @return string
*/
Method [ protected method _getChildHtml ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 483 - 500
- Parameters [2] {
Parameter #0 [ $name ]
Parameter #1 [ $useCache = true ]
}
}
/**
* Prepare child block before generate html
*
* @param string $name
* @param Mage_Core_Block_Abstract $child
*/
Method [ protected method _beforeChildToHtml ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 508 - 510
- Parameters [2] {
Parameter #0 [ $name ]
Parameter #1 [ $child ]
}
}
/**
* Retrieve block html
*
* @param string $name
* @return string
*/
Method [ public method getBlockHtml ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 518 - 527
- Parameters [1] {
Parameter #0 [ $name ]
}
}
/**
* Insert child block
*
* @param Mage_Core_Block_Abstract|string $block
* @param string $siblingName
* @param boolean $after
* @param string $alias
* @return object $this
*/
Method [ public method insert ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 538 - 588
- Parameters [4] {
Parameter #0 [ $block ]
Parameter #1 [ $siblingName = '' ]
Parameter #2 [ $after = false ]
Parameter #3 [ $alias = '' ]
}
}
/**
* Append child block
*
* @param Mage_Core_Block_Abstract|string $block
* @param string $alias
* @return Mage_Core_Block_Abstract
*/
Method [ public method append ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 597 - 601
- Parameters [2] {
Parameter #0 [ $block ]
Parameter #1 [ $alias = '' ]
}
}
/**
* Before rendering html, but after trying to load cache
*
* @return Mage_Core_Block_Abstract
*/
Method [ protected method _beforeToHtml ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 608 - 611
}
/**
* Produce and return block's html output
*
* It is a final method, but you can override _toHmtl() method in descendants if needed
*
* @return string
*/
Method [ final public method toHtml ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 620 - 647
}
/**
* Enter description here...
*
* @return string
*/
Method [ protected method _getUrlModelClass ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 664 - 667
}
/**
* Enter description here...
*
* @return Mage_Core_Model_Url
*/
Method [ protected method _getUrlModel ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 674 - 677
}
/**
* Generate url by route and parameters
*
* @param string $route
* @param array $params
* @return string
*/
Method [ public method getUrl ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 686 - 689
- Parameters [2] {
Parameter #0 [ $route = '' ]
Parameter #1 [ $params = Array ]
}
}
/**
* Generate base64-encoded url by route and parameters
*
* @param string $route
* @param array $params
* @return string
*/
Method [ public method getUrlBase64 ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 698 - 701
- Parameters [2] {
Parameter #0 [ $route = '' ]
Parameter #1 [ $params = Array ]
}
}
/**
* Generate url-encoded url by route and parameters
*
* @param string $route
* @param array $params
* @return string
*/
Method [ public method getUrlEncoded ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 710 - 713
- Parameters [2] {
Parameter #0 [ $route = '' ]
Parameter #1 [ $params = Array ]
}
}
/**
* Retrieve url of skins file
*
* @param string $file path to file in skin
* @param array $params
* @return string
*/
Method [ public method getSkinUrl ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 722 - 725
- Parameters [2] {
Parameter #0 [ $file = NULL ]
Parameter #1 [ array $params = Array ]
}
}
/**
* Retrieve messages block
*
* @return Mage_Core_Block_Messages
*/
Method [ public method getMessagesBlock ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 732 - 738
}
/**
* Set messages block
*
* @param Mage_Core_Block_Messages $block
* @return Mage_Core_Block_Abstract
*/
Method [ public method setMessagesBlock ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 746 - 750
- Parameters [1] {
Parameter #0 [ Mage_Core_Block_Messages $block ]
}
}
/**
* Enter description here...
*
* @param string $type
* @return Mage_Core_Block_Abstract
*/
Method [ public method getHelper ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 758 - 762
- Parameters [1] {
Parameter #0 [ $type ]
}
}
/**
* Enter description here...
*
* @param string $name
* @return Mage_Core_Block_Abstract
*/
Method [ public method helper ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 770 - 776
- Parameters [1] {
Parameter #0 [ $name ]
}
}
/**
* Retrieve formating date
*
* @param string $date
* @param string $format
* @param bool $showTime
* @return string
*/
Method [ public method formatDate ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 786 - 789
- Parameters [3] {
Parameter #0 [ $date = NULL ]
Parameter #1 [ $format = 'short' ]
Parameter #2 [ $showTime = false ]
}
}
/**
* Retrieve formating time
*
* @param string $time
* @param string $format
* @param bool $showDate
* @return string
*/
Method [ public method formatTime ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 799 - 802
- Parameters [3] {
Parameter #0 [ $time = NULL ]
Parameter #1 [ $format = 'short' ]
Parameter #2 [ $showDate = false ]
}
}
/**
* Retrieve module name of block
*
* @return string
*/
Method [ public method getModuleName ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 809 - 818
}
/**
* Translate block sentence
*
* @return string
*/
Method [ public method __ ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 825 - 831
}
/**
* Get Key for caching block content
*
* @return string
*/
Method [ public method getCacheKey ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 838 - 844
}
/**
* Get tags array for saving cache
*
* @return array
*/
Method [ public method getCacheTags ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 851 - 860
}
/**
* Get block cache life time
*
* @return int
*/
Method [ public method getCacheLifetime ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 867 - 873
}
/**
* Enter description here...
*
* @return unknown
*/
Method [ protected method _loadCache ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 880 - 886
}
/**
* Enter description here...
*
* @param unknown_type $data
* @return Mage_Core_Block_Abstract
*/
Method [ protected method _saveCache ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 894 - 901
- Parameters [1] {
Parameter #0 [ $data ]
}
}
/**
* Escape html entities
*
* @param mixed $data
* @return mixed
*/
Method [ public method htmlEscape ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 909 - 912
- Parameters [1] {
Parameter #0 [ $data ]
}
}
/**
* Escape quotes in java scripts
*
* @param mixed $data
* @param string $quote
* @return mixed
*/
Method [ public method jsQuoteEscape ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 921 - 924
- Parameters [2] {
Parameter #0 [ $data ]
Parameter #1 [ $quote = ''' ]
}
}
Method [ public method getNameInLayout ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 926 - 929
}
Method [ public method countChildren ] {
@@ /home/musicdirect/public_html/app/code/core/Mage/Core/Block/Abstract.php 931 - 934
}
/**
* Constructor
*
* By default is looking for first argument as array and assignes it as object attributes
* This behaviour may change in child classes
*
*/
Method [ public method __construct ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 76 - 85
}
/**
* Enter description here...
*
* @param boolean $isDeleted
* @return boolean
*/
Method [ public method isDeleted ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 102 - 109
- Parameters [1] {
Parameter #0 [ $isDeleted = NULL ]
}
}
/**
* set name of object id field
*
* @param string $name
* @return Varien_Object
*/
Method [ public method setIdFieldName ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 117 - 121
- Parameters [1] {
Parameter #0 [ $name ]
}
}
/**
* Retrieve name of object id field
*
* @param string $name
* @return Varien_Object
*/
Method [ public method getIdFieldName ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 129 - 132
}
/**
* Retrieve object id
*
* @return mixed
*/
Method [ public method getId ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 139 - 145
}
/**
* Set object id field value
*
* @param mixed $value
* @return Varien_Object
*/
Method [ public method setId ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 153 - 162
- Parameters [1] {
Parameter #0 [ $value ]
}
}
/**
* Add data to the object.
*
* Retains previous data in the object.
*
* @param array $arr
* @return Varien_Object
*/
Method [ public method addData ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 172 - 178
- Parameters [1] {
Parameter #0 [ array $arr ]
}
}
/**
* Overwrite data in the object.
*
* $key can be string or array.
* If $key is string, the attribute value will be overwritten by $value
*
* If $key is an array, it will overwrite all the data in the object.
*
* $isChanged will specify if the object needs to be saved after an update.
*
* @param string|array $key
* @param mixed $value
* @param boolean $isChanged
* @return Varien_Object
*/
Method [ public method setData ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 195 - 203
- Parameters [2] {
Parameter #0 [ $key ]
Parameter #1 [ $value = NULL ]
}
}
/**
* Unset data from the object.
*
* $key can be a string only. Array will be ignored.
*
* $isChanged will specify if the object needs to be saved after an update.
*
* @param string $key
* @param boolean $isChanged
* @return Varien_Object
*/
Method [ public method unsetData ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 216 - 224
- Parameters [1] {
Parameter #0 [ $key = NULL ]
}
}
/**
* Retrieves data from the object
*
* If $key is empty will return all the data as an array
* Otherwise it will return value of the attribute specified by $key
*
* If $index is specified it will assume that attribute data is an array
* and retrieve corresponding member.
*
* @param string $key
* @param string|int $index
* @param mixed $default
* @return mixed
*/
Method [ public method getData ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 240 - 295
- Parameters [2] {
Parameter #0 [ $key = '' ]
Parameter #1 [ $index = NULL ]
}
}
/**
* Get value from _data array without parse key
*
* @param string $key
* @return mixed
*/
Method [ protected method _getData ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 303 - 306
- Parameters [1] {
Parameter #0 [ $key ]
}
}
Method [ public method setDataUsingMethod ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 308 - 313
- Parameters [2] {
Parameter #0 [ $key ]
Parameter #1 [ $args = Array ]
}
}
Method [ public method getDataUsingMethod ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 315 - 319
- Parameters [2] {
Parameter #0 [ $key ]
Parameter #1 [ $args = NULL ]
}
}
/**
* Fast get data or set default if value is not available
*
* @param string $key
* @param mixed $default
* @return mixed
*/
Method [ public method getDataSetDefault ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 328 - 334
- Parameters [2] {
Parameter #0 [ $key ]
Parameter #1 [ $default ]
}
}
/**
* If $key is empty, checks whether there's any data in the object
* Otherwise checks if the specified attribute is set.
*
* @param string $key
* @return boolean
*/
Method [ public method hasData ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 343 - 349
- Parameters [1] {
Parameter #0 [ $key = '' ]
}
}
/**
* Convert object attributes to array
*
* @param array $arrAttributes array of required attributes
* @return array
*/
Method [ public method __toArray ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 357 - 373
- Parameters [1] {
Parameter #0 [ array $arrAttributes = Array ]
}
}
/**
* Public wrapper for __toArray
*
* @param array $arrAttributes
* @return array
*/
Method [ public method toArray ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 381 - 384
- Parameters [1] {
Parameter #0 [ array $arrAttributes = Array ]
}
}
/**
* Set required array elements
*
* @param array $arr
* @param array $elements
* @return array
*/
Method [ protected method _prepareArray ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 393 - 401
- Parameters [2] {
Parameter #0 [ &$arr ]
Parameter #1 [ array $elements = Array ]
}
}
/**
* Convert object attributes to XML
*
* @param array $arrAttributes array of required attributes
* @param string $rootName name of the root element
* @return string
*/
Method [ protected method __toXml ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 410 - 433
- Parameters [4] {
Parameter #0 [ array $arrAttributes = Array ]
Parameter #1 [ $rootName = 'item' ]
Parameter #2 [ $addOpenTag = false ]
Parameter #3 [ $addCdata = true ]
}
}
/**
* Public wrapper for __toXml
*
* @param array $arrAttributes
* @param string $rootName
* @return string
*/
Method [ public method toXml ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 442 - 445
- Parameters [4] {
Parameter #0 [ array $arrAttributes = Array ]
Parameter #1 [ $rootName = 'item' ]
Parameter #2 [ $addOpenTag = false ]
Parameter #3 [ $addCdata = true ]
}
}
/**
* Convert object attributes to JSON
*
* @param array $arrAttributes array of required attributes
* @return string
*/
Method [ protected method __toJson ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 453 - 458
- Parameters [1] {
Parameter #0 [ array $arrAttributes = Array ]
}
}
/**
* Public wrapper for __toJson
*
* @param array $arrAttributes
* @return string
*/
Method [ public method toJson ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 466 - 469
- Parameters [1] {
Parameter #0 [ array $arrAttributes = Array ]
}
}
/**
* Convert object attributes to string
*
* @param array $arrAttributes array of required attributes
* @param string $valueSeparator
* @return string
*/
Method [ public method __toString ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 478 - 482
- Parameters [2] {
Parameter #0 [ array $arrAttributes = Array ]
Parameter #1 [ $valueSeparator = ',' ]
}
}
/**
* Public wrapper for __toString
*
* Will use $format as an template and substitute {{key}} for attributes
*
* @param string $format
* @return string
*/
Method [ public method toString ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 492 - 504
- Parameters [1] {
Parameter #0 [ $format = '' ]
}
}
/**
* Set/Get attribute wrapper
*
* @param string $method
* @param array $args
* @return mixed
*/
Method [ public method __call ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 513 - 544
- Parameters [2] {
Parameter #0 [ $method ]
Parameter #1 [ $args ]
}
}
/**
* Attribute getter (deprecated)
*
* @param string $var
* @return mixed
*/
Method [ public method __get ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 553 - 557
- Parameters [1] {
Parameter #0 [ $var ]
}
}
/**
* Attribute setter (deprecated)
*
* @param string $var
* @param mixed $value
*/
Method [ public method __set ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 565 - 570
- Parameters [2] {
Parameter #0 [ $var ]
Parameter #1 [ $value ]
}
}
/**
* checks whether the object is empty
*
* @return boolean
*/
Method [ public method isEmpty ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 577 - 583
}
/**
* Converts field names for setters and geters
*
* $this->setMyField($value) === $this->setData('my_field', $value)
* Uses cache to eliminate unneccessary preg_replace
*
* @param string $name
* @return string
*/
Method [ protected method _underscore ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 594 - 604
- Parameters [1] {
Parameter #0 [ $name ]
}
}
Method [ protected method _camelize ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 606 - 609
- Parameters [1] {
Parameter #0 [ $name ]
}
}
/**
* serialize object attributes
*
* @param array $attributes
* @param string $valueSeparator
* @param string $fieldSeparator
* @param string $quote
* @return string
*/
Method [ public method serialize ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 620 - 635
- Parameters [4] {
Parameter #0 [ $attributes = Array ]
Parameter #1 [ $valueSeparator = '=' ]
Parameter #2 [ $fieldSeparator = ' ' ]
Parameter #3 [ $quote = '"' ]
}
}
/**
* Enter description here...
*
* @param string $key
* @return mixed
*/
Method [ public method getOrigData ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 643 - 649
- Parameters [1] {
Parameter #0 [ $key = NULL ]
}
}
/**
* Enter description here...
*
* @param string $key
* @param mixed $data
* @return Varien_Object
*/
Method [ public method setOrigData ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 658 - 666
- Parameters [2] {
Parameter #0 [ $key = NULL ]
Parameter #1 [ $data = NULL ]
}
}
/**
* Enter description here...
*
* @param string $field
* @return boolean
*/
Method [ public method dataHasChangedFor ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 674 - 679
- Parameters [1] {
Parameter #0 [ $field ]
}
}
/**
* Enter description here...
*
* @param string $field
* @return boolean
*/
Method [ public method isDirty ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 687 - 696
- Parameters [1] {
Parameter #0 [ $field = NULL ]
}
}
/**
* Enter description here...
*
* @param string $field
* @param boolean $flag
* @return Varien_Object
*/
Method [ public method flagDirty ] {
@@ /home/musicdirect/public_html/lib/Varien/Object.php 705 - 719
- Parameters [2] {
Parameter #0 [ $field ]
Parameter #1 [