include/export_utils.php

Show: inherited
    Table of Contents

    Functions

    functionexport( string $type, array $records = null,  $members = false,  $sample = false ) : string

    builds up a delimited string for export

    Parameters
    Name Type Description
    $type string

    type the bean-type to export

    $records array

    records an array of records if coming directly from a query

    $members
    $sample
    Returns
    Type Description
    string delimited string for export
    functionexportSample( string $type ) : string

    calls export method to build up a delimited string and some sample instructional text on how to use this file

    Parameters
    Name Type Description
    $type string

    type the bean-type to export

    Returns
    Type Description
    string delimited string for export with some tutorial text
    functiongenerateSearchWhere(  $module,  $query ) : void

    Parameters
    Name Type Description
    $module
    $query
    functiongetDelimiter( ) : string

    gets the system default delimiter or an user-preference based override

    Returns
    Type Description
    string the delimiter
    functionget_field_order_mapping(  $name = '',  $reorderArr = '',  $exclude = true ) : void

    Parameters
    Name Type Description
    $name
    $reorderArr
    $exclude
    functionreturnFakeDataRow(  $focus,  $field_array,  $rowsToReturn = 5 ) : void

    Parameters
    Name Type Description
    $focus
    $field_array
    $rowsToReturn
    functiontranslateForExport(  $field_db_name,  $focus ) : void

    Parameters
    Name Type Description
    $field_db_name
    $focus
    Documentation was generated by DocBlox 0.18.1.