PHP Class Pommo_Install, poMMo
This file is part of poMMo.
poMMo is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
poMMo is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Pommo. If not, see
.
This fork is from https://github.com/soonick/poMMo
Please see docs/contribs for Contributors
Mostra file
Open project: soonick/poMMo
Class Usage Examples
Public Properties
Public Methods
Method |
Description |
|
incUpdate ( integer $serial, $sql, $msg = "Performing Update", $eval = false ) : boolean |
incUpdate
performs an update increment |
|
parseSQL ( $ignoreerrors = false, $file = false ) |
* parseSQL
parses a SQL file (usually generated via mysqldump)
text like ':::table:::' will be replaced with $dbo->table['table'];
(to add prefix) |
|
saveUserValues ( $data ) : boolean |
Saves user supplied installation values |
|
validateInstallationData ( $data ) : boolean |
validateInstallationData
Validates data necessary for installation |
|
verify ( ) : boolean |
verify
verify if poMMo has been installed |
|
Method Details
incUpdate()
public method
@param integer $serial - Version being checked
$sql -
parseSQL()
static public method
@param boolean $ignoreerrors
static public parseSQL ( $ignoreerrors = false, $file = false ) |
$file |
|
@return boolean True on success, false otherwise |
saveUserValues()
public static method
Saves user supplied installation values
validateInstallationData()
public static method
@param array $data.- Data to be validated
verify()
static public method
Property Details
$errors public_oe static_oe property