include/SugarRouting/baseActions.php

Show: inherited
    Table of Contents

    Functions

    functioncopy_mail( array $action,  $bean,  $ie,  $copy = true ) : bool

    Copies an email to a folder

    Parameters
    Name Type Description
    $action array

    Array of options and criteria for the action current being processed

    $bean
    $ie
    $copy
    Returns
    Type Description
    bool
    functiondelete_bean( array $action, object $bean ) : bool

    Logically deletes a SugarBean derivative

    Parameters
    Name Type Description
    $action array

    Array of options and criteria for the action current being processed

    $bean object

    SugarBean

    Returns
    Type Description
    bool
    functiondelete_file( array $action, string $file ) : bool

    unlinks a file in the cache directory

    Parameters
    Name Type Description
    $action array

    Array of options and criteria for the action current being processed

    $file string

    file Path to file

    Returns
    Type Description
    bool
    functiondelete_mail( array $action, object $bean, string $ie ) : bool

    Deletes mail from a mailserver

    Parameters
    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

    Returns
    Type Description
    bool
    functionforward( array $action,  $bean,  $ie ) : void

    Marks an email Unread

    Parameters
    Name Type Description
    $action array

    Array of options and criteria for the action current being processed

    $bean
    $ie
    functionmark_flag( array $action,  $bean,  $ie, string $flag ) : void

    Generic flag-setting

    Parameters
    Name Type Description
    $action array

    Array of options and criteria for the action current being processed

    $bean
    $ie
    $flag string

    Flag to set

    functionmark_flagged( array $action,  $bean,  $ie ) : void

    Marks an email Unread

    Parameters
    Name Type Description
    $action array

    Array of options and criteria for the action current being processed

    $bean
    $ie
    functionmark_read( array $action,  $bean,  $ie ) : void

    Marks an email Read

    Parameters
    Name Type Description
    $action array

    Array of options and criteria for the action current being processed

    $bean
    $ie
    functionmark_unread( array $action,  $bean,  $ie ) : void

    Marks an email Unread

    Parameters
    Name Type Description
    $action array

    Array of options and criteria for the action current being processed

    $bean
    $ie
    functionmove_mail( array $action,  $bean, object $ie ) : bool

    Moves an email to a folder

    Parameters
    Name Type Description
    $action array

    Array of options and criteria for the action current being processed

    $bean
    $ie object

    InboundEmail instance

    Returns
    Type Description
    bool
    functionreply( array $action,  $bean,  $ie ) : void

    Marks an email Unread

    Parameters
    Name Type Description
    $action array

    Array of options and criteria for the action current being processed

    $bean
    $ie
    Documentation was generated by DocBlox 0.18.1.