include/SugarRouting/baseActions.php
Functions
copy_mail(
array $action, $bean, $ie, $copy
=
true
)
:
boolCopies an email to a folder
| Name | Type | Description |
|---|---|---|
| $action | array | Array of options and criteria for the action current being processed |
| $bean | ||
| $ie | ||
| $copy |
| Type | Description |
|---|---|
| bool |
delete_bean(
array $action, object $bean
)
:
boolLogically deletes a SugarBean derivative
| Name | Type | Description |
|---|---|---|
| $action | array | Array of options and criteria for the action current being processed |
| $bean | object | SugarBean |
| Type | Description |
|---|---|
| bool |
delete_file(
array $action, string $file
)
:
boolunlinks a file in the cache directory
| Name | Type | Description |
|---|---|---|
| $action | array | Array of options and criteria for the action current being processed |
| $file | string | file Path to file |
| Type | Description |
|---|---|
| bool |
delete_mail(
array $action, object $bean, string $ie
)
:
boolDeletes mail from a mailserver
| Name | Type | Description |
|---|---|---|
| $action | array | Array of options and criteria for the action current being processed |
| $bean | object | ie InboundEmail instance fully retrieved |
| $ie | string | uid UID of email on mail server |
| Type | Description |
|---|---|
| bool |
forward(
array $action, $bean, $ie
)
:
voidMarks an email Unread
| Name | Type | Description |
|---|---|---|
| $action | array | Array of options and criteria for the action current being processed |
| $bean | ||
| $ie |
mark_flag(
array $action, $bean, $ie, string $flag
)
:
voidGeneric flag-setting
| Name | Type | Description |
|---|---|---|
| $action | array | Array of options and criteria for the action current being processed |
| $bean | ||
| $ie | ||
| $flag | string | Flag to set |
mark_flagged(
array $action, $bean, $ie
)
:
voidMarks an email Unread
| Name | Type | Description |
|---|---|---|
| $action | array | Array of options and criteria for the action current being processed |
| $bean | ||
| $ie |
mark_read(
array $action, $bean, $ie
)
:
voidMarks an email Read
| Name | Type | Description |
|---|---|---|
| $action | array | Array of options and criteria for the action current being processed |
| $bean | ||
| $ie |
mark_unread(
array $action, $bean, $ie
)
:
voidMarks an email Unread
| Name | Type | Description |
|---|---|---|
| $action | array | Array of options and criteria for the action current being processed |
| $bean | ||
| $ie |
move_mail(
array $action, $bean, object $ie
)
:
boolMoves an email to a folder
| Name | Type | Description |
|---|---|---|
| $action | array | Array of options and criteria for the action current being processed |
| $bean | ||
| $ie | object | InboundEmail instance |
| Type | Description |
|---|---|
| bool |