Rev 1116 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1116 | Rev 1211 | ||
---|---|---|---|
Line 34... | Line 34... | ||
34 | * @return bool |
34 | * @return bool |
35 | */ |
35 | */ |
36 | public abstract function isVisible(): bool; |
36 | public abstract function isVisible(): bool; |
37 | 37 | ||
38 | /** |
38 | /** |
- | 39 | * @return bool |
|
- | 40 | * @throws OIDplusException |
|
- | 41 | */ |
|
- | 42 | public final function isActive(): bool { |
|
- | 43 | return OIDplus::getActiveCaptchaPluginId() == $this->id(); |
|
- | 44 | } |
|
- | 45 | ||
- | 46 | /** |
|
39 | * @param string|null $header_text |
47 | * @param string|null $header_text |
40 | * @param string|null $footer_text |
48 | * @param string|null $footer_text |
41 | * @return string |
49 | * @return string |
42 | */ |
50 | */ |
43 | public abstract function captchaGenerate(string $header_text=null, string $footer_text=null): string; |
51 | public abstract function captchaGenerate(string $header_text=null, string $footer_text=null): string; |