forked from ProxiBlue/reCaptcha
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tony
authored and
Aleksey Ermoshin
committed
May 27, 2024
1 parent
e53bc64
commit f58dec4
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
app/code/community/ProxiBlue/ReCaptcha/Model/Config/Type.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
/** | ||
* Captcha image type models | ||
* | ||
* @category ProxiBlue | ||
* @package ProxiBlue_reCaptcha | ||
* @author Lucas van Staden (sales@proxiblue.com.au) | ||
*/ | ||
class ProxiBlue_ReCaptcha_Model_Config_Type | ||
{ | ||
|
||
private $type = array( | ||
array('value' => 'zend', 'label' => 'Zend Default'), | ||
array('value' => 'recaptcha', 'label' => 'Google ReCaptcha') | ||
); | ||
|
||
|
||
public function toOptionArray() | ||
{ | ||
return $this->type; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters