Example #1
0
     * fields_id [INTEGER]  The HRDB form field that should be associated with a custom report.
     */
    $CustomFields = new RowManager_CustomFieldsManager();
    $CustomFields->dropTable();
    $CustomFields->createTable();
    /*
     * Ministry Table
     *
     * Contains name and abbreviation of some ministry. Other data may be added in the future, i.e. description and website.
     *
     * ministry_id [INTEGER]  the unique primary id of the ministry
     * ministry_name [STRING]  The full name of the ministry.
     * ministry_abbrev [STRING]  The abbreviation of the ministry name.
     */
    $Ministry = new RowManager_MinistryManager();
    $Ministry->dropTable();
    $Ministry->createTable();
    /*[RAD_DAOBJ_TABLE]*/
} else {
    echo 'Skipping Tables ... <br>';
}
// end if !skipTables
// check to see if parameter 'skipLabel' was provided
$skipLabel = isset($_REQUEST['skipLabel']);
// if not, then add labels to DB ...
if (!$skipLabel) {
    /*
     *  Insert Labels in DB
     */
    // Create Application Upload Series
    $labelManager = new MultilingualManager();