| [ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 455 lines (17 kb) |
| Included or required: | 1 time |
| Referenced: | 0 times |
| Includes or requires: | 1 file modules/Settings/MailConverter/handlers/MailScannerAction.php |
Vtiger_MailScannerRule:: (20 methods):
log()
__construct()
__toString()
initialize()
initializeActions()
hasBodyRule()
isMatching()
applyAll()
hasACondition()
apply()
find()
__CreateMatchResult()
__CreateDefaultMatchResult()
hasRegexMatch()
resetSequence()
update()
__nextsequence()
delete()
updateAction()
takeAction()
Class: Vtiger_MailScannerRule - X-Ref
Scanner Rule| log($message) X-Ref |
| No description |
| __construct($forruleid) X-Ref |
| Constructor |
| __toString() X-Ref |
| String representation of this instance |
| initialize($forruleid) X-Ref |
| Initialize this instance |
| initializeActions() X-Ref |
| Initialize the actions |
| hasBodyRule() X-Ref |
| Is body rule defined? |
| isMatching($matchfound1, $matchfound2 = null) X-Ref |
| Check if the rule criteria is matching |
| applyAll($mailrecord, $includingBody=true) X-Ref |
| Apply all the criteria. returns: false if not match is found or else all matching result found param: $mailrecord param: $includingBody |
| hasACondition() X-Ref |
| Check if at least one condition is set for this rule. |
| apply($subrule, $mailrecord) X-Ref |
| Apply required condition on the mail record. |
| find($subrule, $condition, $input, $searchfor) X-Ref |
| Find if the rule matches based on condition and parameters |
| __CreateMatchResult($subrule, $condition, $searchfor, $matches) X-Ref |
| Create matching result for the subrule. |
| __CreateDefaultMatchResult($subrule) X-Ref |
| Create default success matching result |
| hasRegexMatch($matchresult) X-Ref |
| Detect if the rule match result has Regex condition returns: matchinfo if Regex match is found, false otherwise param: $matchresult result of apply obtained earlier |
| resetSequence($ruleid1, $ruleid2) X-Ref |
| Swap (reset) sequence of two rules. |
| update() X-Ref |
| Update rule information in database. |
| __nextsequence() X-Ref |
| Get next sequence to use |
| delete() X-Ref |
| Delete the rule and associated information. |
| updateAction($actionid, $actiontext) X-Ref |
| Update action linked to the rule. |
| takeAction($mailscanner, $mailrecord, $matchresult) X-Ref |
| Take action on mail record |
| Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |