Source for file Summary.php
Documentation is available at Summary.php
+----------------------------------------------------------------------+
+----------------------------------------------------------------------+
| Copyright (c) 1997-2003 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 2.02 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available at through the world-wide-web at |
| http://www.php.net/license/2_02.txt. |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Author: Alan Knowles <alan@akbkhome.com> |
+----------------------------------------------------------------------+
$Id: Summary.php,v 1.9 2003/01/04 11:55:55 mj Exp $
* Gtk Frontend - Section that deals displaying summary details about a class
* #TODO : make the textbox display more information in a 'friendlier way'
* @author Alan Knowles <alan@akbkhome.com>
class PEAR_Frontend_Gtk_Summary {
var $ui; // main interface
var $widget; // the list widget
var $config; // reference to config;
var $active_package= ""; // currently selected package
var $_detailsVisableFlag = FALSE; // is the dialog visable
function PEAR_Frontend_Gtk_Summary (&$ui) {
package info looks like this!
[description] => Parser for Resource Description Framework (RDF) Site Summary (RSS)
* is the details tab visable
var $_VisablePackageName = '';
function show (&$package) {
$this->ui->_widget_details_area ->show ();
$this->active_package = &$package;
//$this->ui->_widget_install->set_sensitive(1);
$vadj = $this->ui->_widget_description_sw ->get_vadjustment ();
$this->_detailsVisableFlag = $package->name;
function toggle (&$package) {
if ($this->_detailsVisableFlag != $package->name ) {
$this->ui->_widget_details_area ->hide ();
$this->_detailsVisableFlag = '';
function _callbackInstall () {
$this->installer = &new PEAR_Installer ($ui);
$info = $this->installer->install ($this->active_package['package'], $options , $this->ui->config );
$this->ui->_packages ->loadList ();
$this->ui->_packages ->selectPackage ($this->active_package['package']);
Documentation generated on Mon, 11 Mar 2019 14:28:57 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|