Overview

Packages

  • currencysymbol
  • MAbout
  • Mage
    • Admin
    • Adminhtml
    • AdminNotification
    • Api
    • Api2
    • Authorizenet
    • Backup
    • Bundle
    • Captcha
    • Catalog
    • CatalogIndex
    • CatalogInventory
    • CatalogRule
    • CatalogSearch
    • Centinel
    • Checkout
    • Cms
    • Compiler
    • Connect
    • Contacts
    • Core
    • Cron
    • CurrencySymbol
    • Customer
    • Dataflow
    • Directory
    • DirtectPost
    • Downloadable
    • Eav
    • GiftMessage
    • GoogleAnalytics
    • GoogleBase
    • GoogleCheckout
    • ImportExport
    • Index
    • Install
    • Log
    • Media
    • Newsletter
    • Oauth
    • Page
    • PageCache
    • Paygate
    • Payment
    • Paypal
    • PaypalUk
    • Persistent
    • Poll
    • ProductAlert
    • Rating
    • Reports
    • Review
    • Rss
    • Rule
    • Sales
    • SalesRule
    • Sedfriend
    • Sendfriend
    • Shipping
    • Sitemap
    • Tag
    • Tax
    • Usa
    • Weee
    • Widget
    • Wishlist
    • XmlConnect
  • None
  • Phoenix
    • Moneybookers
  • PHP
  • Zend
    • Date
    • Mime
    • XmlRpc

Classes

  • Mage_Captcha_Block_Captcha
  • Mage_Captcha_Block_Captcha_Zend
  • Mage_Captcha_Helper_Data
  • Mage_Captcha_Model_Config_Font
  • Mage_Captcha_Model_Config_Form_Abstract
  • Mage_Captcha_Model_Config_Form_Backend
  • Mage_Captcha_Model_Config_Form_Frontend
  • Mage_Captcha_Model_Config_Mode
  • Mage_Captcha_Model_Observer
  • Mage_Captcha_Model_Resource_Log
  • Mage_Captcha_Model_Zend

Interfaces

  • Mage_Captcha_Model_Interface
  • Overview
  • Package
  • Class
  • Tree

Class Mage_Captcha_Helper_Data

Captcha image model

Mage_Core_Helper_Abstract
Extended by Mage_Captcha_Helper_Data
Package: Mage\Captcha
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Captcha/Helper/Data.php
Methods summary
public Mage_Captcha_Model_Interface
# getCaptcha( string $formId )

Get Captcha

Get Captcha

Parameters

$formId
string
$formId

Returns

Mage_Captcha_Model_Interface
public Mage_Core_Model_Config_Element
# getConfigNode( string $id, Mage_Core_Model_Store $store = null )

Returns value of the node with respect to current area (frontend or backend)

Returns value of the node with respect to current area (frontend or backend)

Parameters

$id
string
$id The last part of XML_PATH_$area_CAPTCHA_ constant (case insensitive)
$store
Mage_Core_Model_Store
$store

Returns

Mage_Core_Model_Config_Element
public array
# getFonts( )

Get list of available fonts Return format: [['arial'] => ['label' => 'Arial', 'path' => '/www/magento/fonts/arial.ttf']]

Get list of available fonts Return format: [['arial'] => ['label' => 'Arial', 'path' => '/www/magento/fonts/arial.ttf']]

Returns

array
public string
# getImgDir( mixed $website = null )

Get captcha image directory

Get captcha image directory

Parameters

$website
mixed
$website

Returns

string
public string
# getImgUrl( mixed $website = null )

Get captcha image base URL

Get captcha image base URL

Parameters

$website
mixed
$website

Returns

string
Methods inherited from Mage_Core_Helper_Abstract
__(), _cleanCache(), _getModuleName(), _getRequest(), _getUrl(), _loadCache(), _removeCache(), _saveCache(), escapeHtml(), escapeUrl(), getLayout(), isModuleEnabled(), isModuleOutputEnabled(), jsQuoteEscape(), quoteEscape(), removeTags(), setLayout(), stripTags(), translateArray(), urlDecode(), urlEncode()
Constants summary
string INPUT_NAME_FIELD_VALUE 'captcha'
#

Used for "name" attribute of captcha's input field

Used for "name" attribute of captcha's input field

string MODE_ALWAYS 'always'
#

Always show captcha

Always show captcha

string MODE_AFTER_FAIL 'after_fail'
#

Show captcha only after certain number of unsuccessful attempts

Show captcha only after certain number of unsuccessful attempts

string XML_PATH_CAPTCHA_FONTS 'default/captcha/fonts'
#

Captcha fonts path

Captcha fonts path

Properties summary
protected array $_captcha array()
#

List uses Models of Captcha

List uses Models of Captcha

Properties inherited from Mage_Core_Helper_Abstract
$_layout, $_moduleName, $_request
Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0