modules/UpgradeWizard/uw_ajax.php

Show: inherited
    Table of Contents

    Functions

    functionajaxSqlProgress(  $persistence,  $sql,  $type ) : void

    Parameters
    Name Type Description
    $persistence
    $sql
    $type
    functioncommitAjaxFinalTouches( array $persistence ) : array

    does post-post-install stuff

    Parameters
    Name Type Description
    $persistence array

    persistence

    Returns
    Type Description
    array persistence
    functioncommitAjaxGetSqlErrors( array $persistence ) : string

    returns errors found during SQL operations

    Parameters
    Name Type Description
    $persistence array

    persistence

    Returns
    Type Description
    string Error message or empty string on success
    functioncommitAjaxPostInstall(  $persistence ) : void

    handles post-install tasks

    Parameters
    Name Type Description
    $persistence
    functioncommitAjaxPrepSql( array $persistence ) : array

    parses the sql upgrade file for sequential querying

    Parameters
    Name Type Description
    $persistence array

    persistence

    Returns
    Type Description
    array persistence
    functioncommitAjaxRunSql( array $persistence ) : array

    runs one line of sql

    Parameters
    Name Type Description
    $persistence array
    Returns
    Type Description
    array $persistence
    functionpreflightCheckJsonAlterTableCharset( ) : void

    functionpreflightCheckJsonDiffFiles(  $persistence ) : void

    Parameters
    Name Type Description
    $persistence
    functionpreflightCheckJsonFillSchema( ) : void

    functionpreflightCheckJsonFindUpgradeFiles(  $persistence ) : void

    Parameters
    Name Type Description
    $persistence
    functionpreflightCheckJsonGetDiff(  $persistence ) : void

    Parameters
    Name Type Description
    $persistence
    functionpreflightCheckJsonGetSchemaErrors(  $persistence ) : void

    Parameters
    Name Type Description
    $persistence
    functionpreflightCheckJsonPrepSchemaCheck( array $persistence, bool $preflight = true ) : array

    loads the sql file into an array

    Parameters
    Name Type Description
    $persistence array

    persistence

    $preflight bool

    preflight Flag to load for Preflight or Commit

    Returns
    Type Description
    array persistence
    functionpreflightCheckJsonSchemaCheck(  $persistence ) : void

    Parameters
    Name Type Description
    $persistence
    functionsystemCheckJsonCheckFiles( array $persistence ) : string

    checks files for permissions

    Parameters
    Name Type Description
    $persistence array

    files Array of files with absolute paths

    Returns
    Type Description
    string result of check
    functionsystemCheckJsonGetFiles(  $persistence ) : void

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