Beispiel #1
0
 /**
  * Set current frontend.
  *
  * @param string $uitype Name of the frontend type (for example "CLI")
  *
  * @return object the frontend object, or a PEAR error
  * @static
  */
 function setFrontendType($uitype)
 {
     $uiclass = 'PEAR_Frontend_' . $uitype;
     return PEAR_Command::setFrontendClass($uiclass);
 }