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
파일 보기 프로젝트 열기: soonick/poMMo 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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