[ Index ]
 

Code source de PHP PEAR 1.4.5

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/PEAR/ -> Frontend.php (sommaire)

PEAR_Frontend, the singleton-based frontend for user input/output PHP versions 4 and 5

Author: Greg Beaver <cellog@php.net>
Copyright: 1997-2006 The PHP Group
License: http://www.php.net/license/3_0.txt PHP License 3.0
Version: CVS: $Id: Frontend.php,v 1.9 2006/03/03 13:13:07 pajoye Exp $
Poids: 186 lignes (6 kb)
Inclus ou requis: 5 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

PEAR_Frontend:: (7 méthodes):
  singleton()
  setFrontendClass()
  setFrontendObject()
  isIncludeable()
  setConfig()
  addTempFile()
  log()


Classe: PEAR_Frontend  - X-Ref

Singleton-based frontend for PEAR user input/output

Note that frontend classes must implement userConfirm(), and shoul implement
displayFatalError() and outputData()
singleton($type = null)   X-Ref
Retrieve the frontend object

return: PEAR_Frontend_CLI|PEAR_Frontend_Web|PEAR_Frontend_Gtk

setFrontendClass($uiclass)   X-Ref
Set the frontend class that will be used by calls to {@link singleton()}

Frontends are expected to conform to the PEAR naming standard of
_ => DIRECTORY_SEPARATOR (PEAR_Frontend_CLI is in PEAR/Frontend/CLI.php)
param: string $uiclass full class name
return: PEAR_Frontend

setFrontendObject($uiobject)   X-Ref
Set the frontend class that will be used by calls to {@link singleton()}

Frontends are expected to be a descendant of PEAR_Frontend
param: PEAR_Frontend
return: PEAR_Frontend

isIncludeable($path)   X-Ref

param: string $path relative or absolute include path
return: boolean

setConfig(&$config)   X-Ref

param: PEAR_Config

addTempFile($file)   X-Ref
This can be overridden to allow session-based temporary file management

By default, all files are deleted at the end of a session.  The web installer
needs to be able to sustain a list over many sessions in order to support
user interaction with install scripts

log($msg, $append_crlf = true)   X-Ref
Pas de description



Généré le : Sun Feb 25 14:08:00 2007 par Balluche grâce à PHPXref 0.7