public function replaceTags($strTag)
    {
        $arrElements = explode('::', $strTag);

        // Check if we have the mm tags.
        if ($arrElements[0] != 'mm') {
            return false;
        }

        try {
            // Call the fitting function.
            switch ($arrElements[1]) {
                // Count for mod or ce elements.
                case 'total':
                    return $this->getCount($arrElements[2], $arrElements[3]);

                // Get value from an attribute.
                case 'attribute':
                    return $this->getAttribute($arrElements[2], $arrElements[3], $arrElements[4], $arrElements[5]);

                // Get item.
                case 'item':
                    return $this->getItem($arrElements[2], $arrElements[3], $arrElements[4], $arrElements[5]);

                case 'jumpTo':
                    return $this->jumpTo($arrElements[2], $arrElements[3], $arrElements[4], $arrElements[5]);

                default:
            }
        } catch (\Exception $exc) {
            System::log('Error by replace tags: ' . $exc->getMessage(), __CLASS__ . ' | ' . __FUNCTION__, TL_ERROR);
        }

        return false;
    }