include/SugarRouting/baseActions.php
Functions
copy_mail(
array $action, $bean, $ie, $copy
=
true
)
:
bool
Copies 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
)
:
bool
Logically 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
)
:
bool
unlinks 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
)
:
bool
Deletes 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
)
:
void
Marks 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
)
:
void
Generic 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
)
:
void
Marks 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
)
:
void
Marks 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
)
:
void
Marks 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
)
:
bool
Moves 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 |