/[cvs]/nfo/php/libs/org.netfrag.glib/Application/AbstractHandler.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.glib/Application/AbstractHandler.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by joko, Tue Feb 4 08:24:37 2003 UTC revision 1.3 by joko, Mon Mar 10 22:58:48 2003 UTC
# Line 1  Line 1 
1  <?  <?
2    /**
3     * This file contains the Application::AbstractHandler class.
4     *
5     * @author Andreas Motl <andreas.motl@ilo.de>
6     * @package org.netfrag.glib
7     * @name Application::AbstractHandler
8     *
9     */
10    
11    
12  //    -------------------------------------------------------------------------  //    -------------------------------------------------------------------------
13  //    $Id$  //    $Id$
14  //    -------------------------------------------------------------------------  //    -------------------------------------------------------------------------
15  //    $Log$  //    $Log$
16    //    Revision 1.3  2003/03/10 22:58:48  joko
17    //    + fixed metadata for phpDocumentor
18    //
19    //    Revision 1.2  2003/02/09 16:58:01  joko
20    //    + minor update related to new log level constants
21    //
22  //    Revision 1.1  2003/02/04 08:24:37  joko  //    Revision 1.1  2003/02/04 08:24:37  joko
23  //    + initial commit  //    + initial commit
24  //    + refactored from flib/Site/Request.php and flib/Site/Handler.php  //    + refactored from flib/Site/Request.php and flib/Site/Handler.php
# Line 17  Line 33 
33  //    -------------------------------------------------------------------------  //    -------------------------------------------------------------------------
34    
35    
36    /**
37     * --- Application::AbstractHandler
38     *
39     * @author Andreas Motl <andreas.motl@ilo.de>
40     * @package org.netfrag.glib
41     * @subpackage Application
42     * @name Application::AbstractHandler
43     *
44     */
45  class Application_AbstractHandler {  class Application_AbstractHandler {
46    
47    // parent's instance    // parent's instance
# Line 49  class Application_AbstractHandler { Line 74  class Application_AbstractHandler {
74    function getHandler($ident) {    function getHandler($ident) {
75      $parent = $this->parent;      $parent = $this->parent;
76      if (count($this->s) == 0) {      if (count($this->s) == 0) {
77        $this->$parent->log( get_class($this) . "->getHandler: called before any setHandler", LOG_WARNING );        $this->$parent->log( get_class($this) . "->getHandler: called before any setHandler", PEAR_LOG_WARNING );
78      }      }
79      return $this->s[$ident];      return $this->s[$ident];
80    }    }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed