cvs: php4 /pear/PEAR/Frontend CLI.php

From: Date: Thu, 09 Jan 2003 15:06:15 +0000
Subject: cvs: php4 /pear/PEAR/Frontend CLI.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-8142@lists.php.net to get a copy of this message
ssb Thu Jan 9 10:06:15 2003 EDT Modified files: /php4/pear/PEAR/Frontend CLI.php Log: * cleanups Index: php4/pear/PEAR/Frontend/CLI.php diff -u php4/pear/PEAR/Frontend/CLI.php:1.28 php4/pear/PEAR/Frontend/CLI.php:1.29 --- php4/pear/PEAR/Frontend/CLI.php:1.28 Tue Dec 31 11:18:29 2002 +++ php4/pear/PEAR/Frontend/CLI.php Thu Jan 9 10:06:14 2003 @@ -16,7 +16,7 @@ | Author: Stig Sæther Bakken <ssb@fast.no> | +----------------------------------------------------------------------+ - $Id: CLI.php,v 1.28 2002/12/31 16:18:29 sebastian Exp $ + $Id: CLI.php,v 1.29 2003/01/09 15:06:14 ssb Exp $ */ require_once "PEAR.php"; @@ -33,7 +33,6 @@ var $type = 'CLI'; var $lp = ''; // line prefix - var $omode = 'plain'; var $params = array(); var $term = array( 'bold' => '', @@ -68,7 +67,7 @@ function displayLine($text) { - trigger_error("Frontend::displayLine deprecated", E_USER_ERROR); + trigger_error("PEAR_Frontend_CLI::displayLine deprecated", E_USER_ERROR); } function _displayLine($text) @@ -81,7 +80,7 @@ function display($text) { - trigger_error("Frontend::display deprecated", E_USER_ERROR); + trigger_error("PEAR_Frontend_CLI::display deprecated", E_USER_ERROR); } function _display($text) @@ -111,7 +110,7 @@ function displayHeading($title) { - trigger_error("Frontend::displayHeading deprecated", E_USER_ERROR); + trigger_error("PEAR_Frontend_CLI::displayHeading deprecated", E_USER_ERROR); } function _displayHeading($title) @@ -160,7 +159,7 @@ function userConfirm($prompt, $default = 'yes') { - trigger_error("Frontend::userConfirm not yet converted", E_USER_ERROR); + trigger_error("PEAR_Frontend_CLI::userConfirm not yet converted", E_USER_ERROR); static $positives = array('y', 'yes', 'on', '1'); static $negatives = array('n', 'no', 'off', '0'); print "$this->lp$prompt [$default] : "; @@ -188,12 +187,11 @@ function startTable($params = array()) { - trigger_error("Frontend::startTable deprecated", E_USER_ERROR); + trigger_error("PEAR_Frontend_CLI::startTable deprecated", E_USER_ERROR); } function _startTable($params = array()) { - $this->omode = 'table'; $params['table_data'] = array(); $params['widest'] = array(); // indexed by column $params['highest'] = array(); // indexed by row @@ -206,7 +204,7 @@ function tableRow($columns, $rowparams = array(), $colparams = array()) { - trigger_error("Frontend::tableRow deprecated", E_USER_ERROR); + trigger_error("PEAR_Frontend_CLI::tableRow deprecated", E_USER_ERROR); } function _tableRow($columns, $rowparams = array(), $colparams = array()) @@ -256,12 +254,11 @@ function endTable() { - trigger_error("Frontend::tableRow deprecated", E_USER_ERROR); + trigger_error("PEAR_Frontend_CLI::tableRow deprecated", E_USER_ERROR); } function _endTable() { - $this->omode = ''; extract($this->params); if (!empty($caption)) { $this->_displayHeading($caption);

« previous php.pear.cvs (#8142) next »