PEAR_Frontend::setConfig (Previous) (Next) PEAR_Frontend::singleton

View this page in Last updated: Sun, 28 Sep 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Plain HTML

PEAR_Frontend::setFrontendClass()

PEAR_Frontend::setFrontendClass()  -- setFrontendClass

Beschreibung

Set the kind of frontend that should be retrieved from the singleton() method. If the class does not exist, the method changes all underscores (_) into directory separators (like PEAR_Frontend_CLI to PEAR/Frontend/CLI) and appends .php and then checks to see if the file can be included. If the class does exist after all of this, a simple check is made to see if the userConfirm() method exists, and then a new frontend object is returned. Any failure causes a PEAR_Error to be returned.

Parameter

string $uiclass

the full classname (like PEAR_Frontend_Web)

Fehler-Meldungen

throws PEAR_Error on any problem

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.

PEAR_Frontend::setConfig (Previous) (Next) PEAR_Frontend::singleton

Download Documentation Last updated: Sun, 28 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.