PHP Класс 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
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$errors

Открытые методы

Метод Описание
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

Описание методов

incUpdate() публичный Метод

@param integer $serial - Version being checked $sql -
public incUpdate ( integer $serial, $sql, $msg = "Performing Update", $eval = false ) : boolean
$serial integer
Результат boolean True if installed, false otherwise

parseSQL() статический публичный Метод

@param boolean $ignoreerrors
static public parseSQL ( $ignoreerrors = false, $file = false )
$file @return boolean True on success, false otherwise

saveUserValues() публичный статический Метод

Saves user supplied installation values
public static saveUserValues ( $data ) : boolean
Результат boolean True if good, false otherwise

validateInstallationData() публичный статический Метод

@param array $data.- Data to be validated
public static validateInstallationData ( $data ) : boolean
Результат boolean True on success, false otherwise

verify() статический публичный Метод

@param void
static public verify ( ) : boolean
Результат boolean True if installed, false otherwise

Описание свойств

$errors публичное статическое свойство

public static $errors