include/formbase.php

Show: inherited
    Table of Contents

    Functions

    functionadd_hidden_elements(  $key,  $value ) : void

    Parameters
    Name Type Description
    $key
    $value
    functionbuildRedirectURL(  $return_id = '',  $return_module = '' ) : void

    Parameters
    Name Type Description
    $return_id
    $return_module
    functioncheckRequired( \$prefix $prefix, \$required $required ) : boolean

    Check for null or zero for list of values

    Parameters
    Name Type Description
    $prefix \$prefix

    the prefix of value to be checked

    $required \$required

    array of value to be checked

    Returns
    Type Description
    boolean true if all values are set in the array
    functiongetAnyToForm(  $ignore = '',  $usePostAsAuthority = false ) : void

    Parameters
    Name Type Description
    $ignore
    $usePostAsAuthority
    functiongetGetToForm(  $ignore = '',  $usePostAsAuthority = false ) : void

    Parameters
    Name Type Description
    $ignore
    $usePostAsAuthority
    functiongetLikeForEachWord(  $fieldname,  $value,  $minsize = 4 ) : void

    Parameters
    Name Type Description
    $fieldname
    $value
    $minsize
    functiongetPostToForm(  $ignore = '',  $isRegularExpression = false ) : void

    Parameters
    Name Type Description
    $ignore
    $isRegularExpression
    functionget_teams_hidden_inputs( \$module $module = '' ) : String

    get_teams_hidden_inputs This is a helper function to construct a String of the hidden input parameters representing the teams that were sent to the form base code

    Parameters
    Name Type Description
    $module \$module

    String value of module

    Returns
    Type Description
    String HTML format of teams sent to the form base code
    functionget_teams_url( \$module $module = '' ) : String

    This is a helper function to return the url portion of the teams sent

    Parameters
    Name Type Description
    $module \$module

    String value of module used for the prefixing

    Returns
    Type Description
    String URL format of teams sent to the form base code
    functionhandleRedirect(  $return_id = '',  $return_module = '',  $additionalFlags = false ) : void

    Parameters
    Name Type Description
    $return_id
    $return_module
    $additionalFlags
    functionisCloseAndCreateNewPressed( ) : void

    functionpopulateFromPost(  $prefix,  $focus,  $skipRetrieve = false ) : void

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