Update of /cvsroot/phpcms-plugins/install4phpCMS/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29220/include
Added Files:
class.install4phpcms.php
Log Message:
reconstruction for the new releases
--- NEW FILE: class.install4phpcms.php ---
<?php
/**
* Install4phpCMS - the new phpCMS-installer
*
* <b>License</b>
*
* This program 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 2 of the License, or
* (at your option) any later version.
*
* This program 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 this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* @author Martin Jahn <mj...@us...>
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @copyright Copyright (c) 2004, Martin Jahn
* @version $Id$
* @package install4phpcms
**/
/*
* $Log$
*/
/**
* the main class of install4phpCMS
*
* @package install4phpcms
* @author Martin Jahn <mj...@us...>
* @version $Id$
**/
class install4phpCMS {
/**
* @var array $_session is a reference to the global SESSION-array (for better portability)
* @access private
**/
var $_session = array ();
/**
* constructor method - compatibility mode with PHP4
* @access private
**/
function install4phpCMS () {
return $this->__construct();
}
/**
* constructor method
* @access private
**/
function __construct () {
}
/**
* main function of the class
*
* this function contains the whole workflow of the installation-process
**/
function run () {
}
/**
* get list of directories with write-permission for PHP
*
* @access private
**/
function _getDirList () {
}
/**
* download an installation archive from phpcms.de
*
* @access private
* @param $server string contains the server, where the archive can be downloaded
**/
function _getArchive ($server = 'phpcms.de') {
}
/**
* extract the installation-archive into the destination-directory
*
* @access private
* @param $destination string contains the directory, where to extract the package
**/
function _extractArchive ($destination) {
}
/**
* this function sets corrects the permission of the extracted files and directories
*
* @access private
**/
function _setPermission () {
}
/**
* this function parses the configuration-file into an array
*
* @access private
**/
function _getConfigfile () {
}
/**
* this function sets the tags and their content for the search-replace-process in the installation-files
*
* @access private
**/
function _setVariables () {
}
/**
* this function replaces the tags in the installed files with the correct content
*
* @access private
**/
function _replaceTags () {
}
/**
* this function tries to autoconfigure the stealth-mode via URI-detection
*
* @access private
**/
function _autoStealthMode () {
}
/**
* set a session variable
*
* this funcion is a wrapper around the session-managment, so that it can easily be changed everytime
*
* @access private
* @param $id string name/identifier of the variable
* @param $value string value of the variable
**/
function _setSessionVar ($id, $value) {
}
/**
* get a session variable
*
* this funcion is a wrapper around the session-managment, so that it can easily be changed everytime
*
* @access private
* @param $id string name/identifier of the variable
* @return string the value of the wished variable or NULL if the variable does not exist
**/
function _getSessionVar ($id) {
}
}
?>
|