The Defination is found in the class where it is defined:  app/code/core/Mage/Core/Block/Abstract.php

In Line No 1144 : function htmlEscape() deprecated or you can say renamed after 1.4.0.0-rc1 with escapeHtml() function

/**
     * @deprecated after 1.4.0.0-rc1
     * @see self::escapeHtml()
     */
    public function htmlEscape($data, $allowedTags = null)
    {
        return $this->escapeHtml($data, $allowedTags);
    }

    /**
     * Escape html entities
     *
     * @param   mixed $data
     * @param   array $allowedTags
     * @return  string
     */
    public function escapeHtml($data, $allowedTags = null)
    {
        return $this->helper('core')->escapeHtml($data, $allowedTags);
    }

Categories: Magento

1 Comment

athiban · August 24, 2016 at 4:45 pm

Could some one please explain what is there in the above code ?

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *