|
static | checkLength ($s, $iLenMin, $iLenMax) |
|
static | checkDate ($s) |
|
static | checkDateRange ($s, $iMin, $iMax, $bRequired=false) |
|
static | checkDateTime ($s) |
|
static | checkPreg ($s, $r) |
|
static | checkAvail ($s) |
|
static | checkProfileName ($s) |
|
static | checkLocation ($s, $sName, $sMethod=BX_DOL_FORM_METHOD_DEFAULT, $bAll=false) |
|
static | checkEmailOrEmpty ($s) |
|
static | checkEmail ($s) |
|
static | checkCaptcha ($s) |
|
static | checkIsSpam (&$val, $sType='textarea') |
|
static | passInt ($s) |
|
static | passFloat ($s) |
|
static | passDate ($s) |
|
static | passDateTs ($s) |
|
static | passDateUtc ($s) |
|
static | passDateTime ($s) |
|
static | passDateTimeTs ($s) |
|
static | passDateTimeUtc ($s) |
|
static | _passDate ($s, $iFormat) |
|
static | passXss ($s) |
|
static | passXssMultiline ($s) |
|
static | passXssHtml ($s) |
|
static | passAll ($s) |
|
static | passPreg ($s, $r) |
|
static | _passPreg ($s, $r) |
|
static | passBoolean ($s) |
|
static | passSet ($s) |
|
static | displayDate ($i) |
|
static | displayDateTs ($i) |
|
static | displayDateUtc ($i) |
|
static | displayDateTime ($i) |
|
static | displayDateTimeTs ($i) |
|
static | displayDateTimeUtc ($i) |
|
static | displaySet ($i) |
|
static | _isEmptyArray ($a) |
|
static | _isFullArray ($a) |
|
◆ checkIsSpam()
static BxDolFormCheckerHelper::checkIsSpam |
( |
& | $val, |
|
|
| $sType = 'textarea' ) |
|
static |
Hooks:
'system', 'check_spam' - hook to override (perform) spam checking
- $unit_name - equals
system
- $action - equals
check_spam
- $object_id - not used
- $sender_id - currently logged in account id
- $extra_params - array of additional params with the following array keys:
is_spam
- [boolean] by ref, if checked conetent is spam or not, can be overridden in hook processing
content
- [string] by ref, content to check, can be overridden in hook processing
where
- [string] where the content was received from, equals to 'form'
type
- [string] subsection where the content was received from - HOOKS
- 'system', 'check_spam' - hook to override (perform) spam checking
The documentation for this class was generated from the following file:
- inc/classes/BxDolForm.php