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 57 of file classloader.php.


Constructor & Destructor Documentation

aliroDebug::__construct (  )  [private]

Definition at line 62 of file classloader.php.

00062 { /* Enforce singleton */ }


Member Function Documentation

aliroDebug::__clone (  )  [private]

Definition at line 64 of file classloader.php.

00064 { /* Enforce singleton */ }

static aliroDebug::getInstance (  )  [static]

Definition at line 66 of file classloader.php.

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

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

aliroDebug::setDebugData ( info  ) 

Definition at line 70 of file classloader.php.

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

aliroDebug::getLogged (  ) 

Definition at line 74 of file classloader.php.

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


Member Data Documentation

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

Definition at line 58 of file classloader.php.

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

Definition at line 60 of file classloader.php.


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

Generated on Wed May 14 13:01:58 2008 for ALIRO by  doxygen 1.5.5