-
Notifications
You must be signed in to change notification settings - Fork 0
Code libraries for interacting with HSPF
rburghol edited this page Dec 20, 2021
·
1 revision
- Library files: ** hspf.defaults.php - information for parsing of UCI blocks (ereg), table setup (sql defs), and writing blocks ** HSPFFunctions.php - uciobject class definition and helper scripts ** lib_hspf.php - library for interacting wtih CBP hspf files and generic HSPFFunctions.php object
- Updating code
- General: Code_php53
- Adding preg_format term to hspf.defaults.php ** "EXT SOURCES" block changed from ereg to preg (see php code see below)
function parseEXTSOURCES() { error_log("Parsing EXT Sources\n"); //$extsources = parseFixedWidthUCI($this->ucifile,'EXT SOURCES','',$this->ucitables["EXT SOURCES"]["uciformat"],1); $extsources = parseMultiFixedWidthUCI($this->ucifile,'EXT SOURCES','',$this->ucitables["EXT SOURCES"],0); makeUCITable($this->listobject,'EXT SOURCES',$extsources,$this->ucitables,$this->debug); }