aliroDebug Class Reference

List of all members.

Public Member Functions

 setDebugData ($info)
 getLogged ()

Static Public Member Functions

static getInstance ()

Private Member Functions

 __construct ()
 __clone ()

Private Attributes

 $debug_log = array()

Static Private Attributes

static $instance = __CLASS__


Detailed Description

Definition at line 56 of file classloader.php.


Constructor & Destructor Documentation

aliroDebug::__construct (  )  [private]

Definition at line 61 of file classloader.php.

00061 { /* Enforce singleton */ }


Member Function Documentation

aliroDebug::__clone (  )  [private]

Definition at line 63 of file classloader.php.

00063 { /* Enforce singleton */ }

static aliroDebug::getInstance (  )  [static]

Definition at line 65 of file classloader.php.

Referenced by smartClassMapper::getClassPath(), smartAdminClassMapper::getClassPath(), and aliroAbstractRequest::getDebug().

00065                                           {
00066         return is_object(self::$instance) ? self::$instance : (self::$instance = new self::$instance);
00067     }

aliroDebug::setDebugData ( info  ) 

Definition at line 69 of file classloader.php.

00069                                          {
00070         $this->debug_log[] = $info;
00071     }

aliroDebug::getLogged (  ) 

Definition at line 73 of file classloader.php.

00073                                  {
00074         $text = '<h4>'.count($this->debug_log).' classes loaded</h4>';
00075         foreach ($this->debug_log as $k=>$class) $text .= "\n".($k+1)."<br />".$class.'<hr />';
00076         return $text;
00077     }


Member Data Documentation

aliroDebug::$instance = __CLASS__ [static, private]

Definition at line 57 of file classloader.php.

aliroDebug::$debug_log = array() [private]

Definition at line 59 of file classloader.php.


The documentation for this class was generated from the following file:

Generated on Thu Apr 17 13:03:29 2008 for ALIRO by  doxygen 1.5.5