예제 #1
0
파일: Command.php 프로젝트: Maxlander/shixi
 /**
  * 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);
 }