modules/SNIP/utils.php

Show: inherited
    Table of Contents

    Functions

    functionget_beans_by_email_addr( array $module_dir ) : array

    Get query fetching all objects that have same email address as current email object, excluding those that are connected to this email explicitly by direct relation The email is specified by current controller's bean object

    Parameters
    Name Type Description
    $module_dir array

    'module' has required module dir name

    Returns
    Type Description
    array
    functionget_unlinked_email_query_via_link( array $params ) : array

    Get the query that produces emails related to certain object via link to certain other object E.g. having Account fetch Contacts related to it and then get all emails that have some address as one of these contacts

    Parameters
    Name Type Description
    $params array

    'link' is the relation name to use

    Returns
    Type Description
    array Array representing the query
    Documentation was generated by DocBlox 0.18.1.